|
|
@@ -35,6 +35,13 @@
|
|
|
<u-form-item label="备注">
|
|
|
<u-input placeholder="请输入备注" v-model="form.beiZhu1" />
|
|
|
</u-form-item>
|
|
|
+
|
|
|
+ <view class="qingshe" style="background-color: #99cc66;">
|
|
|
+ <view class="qingTitle" style="color: #FFFFFF;">
|
|
|
+ 常规项目选择
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<u-form-item label="检测类型">
|
|
|
<u-input placeholder="请选择检测类型" type="select" v-model="form.jianCeType"
|
|
|
@click="selectClick('jianCeType')" />
|
|
|
@@ -59,19 +66,28 @@
|
|
|
</view>
|
|
|
</label>
|
|
|
</checkbox-group>
|
|
|
- <!-- <view v-for="(it, x) in form.jianCeList" :key="x" v-if="it.checked">
|
|
|
- <view class="uni-list-cell uni-list-cell-pd">
|
|
|
- <view
|
|
|
- style="margin-left: 10rpx;font-size: 28rpx;line-height: 40rpx;background: #eee;padding: 10rpx;">
|
|
|
+ </u-form-item>
|
|
|
+
|
|
|
+ <view class="qingshe" style="background-color: #99cc66;">
|
|
|
+ <view class="qingTitle" style="color: #FFFFFF;">
|
|
|
+ 套餐选择
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <u-form-item label="选择套餐" prop="name" label-position="top">
|
|
|
+ <checkbox-group v-for="(it, x) in form.taoCanList" :key="x" @click="changeTaoCanIndex(it,x)">
|
|
|
+ <label class=" uni-list-cell uni-list-cell-pd"
|
|
|
+ style="display: flex;align-items: center;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
|
|
|
+ <view>
|
|
|
+ <checkbox :checked="it.checked" :value="it.id_" />
|
|
|
+ </view>
|
|
|
+ <view style="margin-left: 10rpx;font-size: 28rpx;">
|
|
|
<view>
|
|
|
- {{it.jian_ce_lei_bie_ || ''}}-{{it.jian_ce_xiang_mu_ || ''}}[{{it.zhe_hou_jia_ge_ || ''}}元]
|
|
|
+ {{it.tao_can_ming_chen || ''}}
|
|
|
</view>
|
|
|
- <view>{{it.yi_ju_de_biao_zhu || ''}}</view>
|
|
|
- <view>报告周期(工作日):{{it.bao_gao_zhou_qi_g || '当'}}天</view>
|
|
|
- <view>送样要求:{{it.yang_pin_tiao_jia || ''}}</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
</u-form-item>
|
|
|
|
|
|
<view class="qingshe" @click="form.showBoolean1 = !form.showBoolean1">
|
|
|
@@ -219,7 +235,7 @@
|
|
|
default: () => {
|
|
|
return []
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -286,6 +302,11 @@
|
|
|
}
|
|
|
this.getTotal()
|
|
|
},
|
|
|
+ changeTaoCanIndex(it, x) {
|
|
|
+ let itemData = this.form
|
|
|
+ this.form.taoCanList[x].checked = !this.form.taoCanList[x].checked
|
|
|
+ this.getTotal()
|
|
|
+ },
|
|
|
getTotal() {
|
|
|
var itemTotal = 0
|
|
|
this.form.jianCeList.forEach((it, x) => {
|