linweizeng há 3 anos atrás
pai
commit
d7baddcfe6
1 ficheiros alterados com 0 adições e 204 exclusões
  1. 0 204
      pages/jiance/order.vue

+ 0 - 204
pages/jiance/order.vue

@@ -44,187 +44,9 @@
 				v-if="index == lhypbIndex">
 				<lhypb-message :item="item" :itemType="false" :type="type" :jianCeTypeList="jianCeTypeList"
 					@countTotal="getTotal" @getParentContent="getJianXiangData">></lhypb-message>
-				<!-- <u-form-item label="样品名称" prop="yangPinMingCheng" required>
-					<text>{{item.yangPinMingCheng}}</text>
-				</u-form-item>
-				<u-form-item label="样品编号">
-					<text>{{item.yangPinBianHao}}</text>
-				</u-form-item>
-				<u-form-item label="姓名">
-					<text>{{item.xingMing}}</text>
-				</u-form-item>
-				<u-form-item label="性别">
-					<text>{{item.xingBie}}</text>
-				</u-form-item>
-				<u-form-item label="年龄">
-					<text>{{item.nianLing}}</text>
-				</u-form-item>
-				<u-form-item label="送检批号/编号" prop="songJianPiHao" required>
-					<text>{{item.songJianPiHao}}</text>
-				</u-form-item>
-				<u-form-item label="样本状态" prop="yangPinZhuangTai" required>
-					<text>{{item.yangPinZhuangTai}}</text>
-				</u-form-item>
-				<u-form-item label="送检时间" prop="songJianShiJian" required>
-					<text>{{item.songJianShiJian}}</text>
-				</u-form-item>
-				<u-form-item label="备注">
-					<text>{{item.beiZhu1}}</text>
-				</u-form-item>
-
-				<view>
-					<view class="qingshe" style="background-color: #99cc66;">
-						<view class="qingTitle" style="color: #FFFFFF;">
-							常规项目
-						</view>
-					</view>
-					<u-form-item label="检测项目" prop="name" label-position="top">
-						<view v-for="(it, x) in item.jianCeList" :key="x" v-if="it.checked"
-							@click="getJianXiangData(it)">
-							<view class="jiancexiangm">
-								<view>
-									{{it.xiang_mu_bian_hao || ''}}-{{it.jian_ce_xiang_mu_ || ''}}
-									<text style="color: red;">[{{it.zhe_hou_jia_ge_ || '当'}}元]</text>
-								</view>
-								<view>{{it.yi_ju_de_biao_zhu || ''}}</view>
-							</view>
-						</view>
-					</u-form-item>
-				</view>
-				<view v-if="item.taoCanXiangMuList && item.taoCanXiangMuList.length > 0">
-					<view class="qingshe" style="background-color: #99cc66;margin-bottom: 20rpx;" v-if="taoCanShow">
-						<view class="qingTitle" style="color: #FFFFFF;">
-							套餐
-						</view>
-					</view>
-					<u-form-item label="套餐选择" label-position="top">
-						<view class="btnBox">
-							<u-tag class="btnSin" size="default" :text="it.tao_can_ming_chen" v-if="it.checked"
-								v-for="(it, x) in item.taoCanList" :key="x" />
-						</view>
-					</u-form-item>
-					<view>
-						<view v-for="(it, x) in item.taoCanXiangMuList" :key="x" @click="getJianXiangData(it)">
-							<view class="jiancexiangm">
-								<view>
-									{{it.xiang_mu_bian_hao || ''}}-{{it.jian_ce_xiang_mu_ || ''}}
-									<text style="color: red;">[{{it.zhe_hou_jia_ge_ || '当'}}元]</text>
-								</view>
-								<view>{{it.yi_ju_de_biao_zhu || ''}}</view>
-							</view>
-						</view>
-					</view>
-				</view>
-
-
-				<view class="qingshe" @click="item.showBoolean1 = !item.showBoolean1">
-					<view>
-						①
-					</view>
-					<view>
-						<u-icon name="arrow-up" v-if="item.showBoolean1"></u-icon>
-						<u-icon name="arrow-down" v-else></u-icon>
-					</view>
-				</view>
-				<block v-if="item.showBoolean1">
-					<u-form-item label="样品类型①">
-						<text>{{item.yangPinLeiXing}}</text>
-					</u-form-item>
-					<u-form-item label="样品运输条件①">
-						<text>{{item.yangBenYunShuTiao}}</text>
-					</u-form-item>
-					<u-form-item label="数量①">
-						<text>{{item.shuLiang}}</text>
-					</u-form-item>
-					<u-form-item label="样品规格①">
-						<text>{{item.yangPinGuiGe}}</text>
-					</u-form-item>
-				</block>
-
-				<view class="qingshe" @click="item.showBoolean2 = !item.showBoolean2">
-					<view>
-						②
-					</view>
-					<view>
-						<u-icon name="arrow-up" v-if="item.showBoolean2"></u-icon>
-						<u-icon name="arrow-down" v-else></u-icon>
-					</view>
-				</view>
-				<block v-if="item.showBoolean2">
-					<u-form-item label="样品类型②">
-						<text>{{item.yangPinLeiXingEr}}</text>
-					</u-form-item>
-					<u-form-item label="样品运输条件②">
-						<text>{{item.yangPinYunShuTiao}}</text>
-					</u-form-item>
-					<u-form-item label="数量②">
-						<text>{{item.shuLiangEr}}</text>
-					</u-form-item>
-					<u-form-item label="样品规格②">
-						<text>{{item.yangPinGuiGeEr}}</text>
-					</u-form-item>
-				</block>
-
-				<view class="qingshe" @click="item.showBoolean3 = !item.showBoolean3">
-					<view>
-						③
-					</view>
-					<view>
-						<u-icon name="arrow-up" v-if="item.showBoolean3"></u-icon>
-						<u-icon name="arrow-down" v-else></u-icon>
-					</view>
-				</view>
-				<block v-if="item.showBoolean3">
-					<u-form-item label="样品类型③">
-						<text>{{item.yangPinLeiXingSan}}</text>
-					</u-form-item>
-					<u-form-item label="样品运输条件③">
-						<text>{{item.yangPinYunShuSan}}</text>
-					</u-form-item>
-					<u-form-item label="数量③">
-						<text>{{item.shuLiangSan}}</text>
-					</u-form-item>
-					<u-form-item label="样品规格③">
-						<text>{{item.yangPinGuiGeSan}}</text>
-					</u-form-item>
-				</block>
-
-				<view class="qingshe" @click="item.showBoolean4 = !item.showBoolean4">
-					<view>
-						④
-					</view>
-					<view>
-						<u-icon name="arrow-up" v-if="item.showBoolean4"></u-icon>
-						<u-icon name="arrow-down" v-else></u-icon>
-					</view>
-				</view>
-				<block v-if="item.showBoolean4">
-					<u-form-item label="样品类型④">
-						<text>{{item.yangPinLeiXingSi}}</text>
-					</u-form-item>
-					<u-form-item label="样品运输条件④">
-						<text>{{item.yangPinYunShuSi}}</text>
-					</u-form-item>
-					<u-form-item label="数量④">
-						<text>{{item.shuLiangSi}}</text>
-					</u-form-item>
-					<u-form-item label="样品规格④">
-						<text>{{item.yangPinGuiGeSi}}</text>
-					</u-form-item>
-				</block>
-				<u-form-item label="项目名称" prop="xiangMuMingCheng" v-if="item.mingChengShow">
-					<text>{{item.xiangMuMingCheng}}</text>
-				</u-form-item>
-				<u-form-item label="样品总价" prop="yangPinZongJia">
-					<text>{{item.yangPinZongJia}}</text>
-				</u-form-item>
- -->
 				<u-button type="error" class="btn" @click="deletSing(index)" v-if="type != 'detail'">
 					删除样品编号“{{item.yangPinBianHao}}”的样品
 				</u-button>
-				<!-- 				<u-button type="error" class="btn" @click="updateSing(item,index)" v-if="type != 'detail'">
-					修改样品编号“{{item.yangPinBianHao}}”的样品
-				</u-button> -->
 			</uni-group>
 
 			<u-button type="success" class="btn" @click="getSing()" v-if="type != 'detail' && form.lhypb.length > 0">
@@ -256,11 +78,6 @@
 					</u-radio-group>
 					<text v-else>{{getButtChange(form.chuJuBaoGaoYaoQiu,reportRequireList)}}</text>
 				</u-form-item>
-				<!-- 				<u-form-item label="出报告时间" prop="chuBaoGaoShiJian" required>
-					<u-input placeholder="请选择出报告时间" type="select" v-model="form.chuBaoGaoShiJian"
-						@click="dateClick('report')" v-if="type != 'detail'" />
-					<text v-else>{{form.chuBaoGaoShiJian}}</text>
-				</u-form-item> -->
 				<u-form-item label="检毕样品处置" prop="yangBenChuLi" required>
 					<u-input placeholder="请选择检毕样品处置" type="select" v-model="form.yangBenChuLi"
 						@click="sheetClick('disposition')" v-if="type != 'detail'" />
@@ -446,8 +263,6 @@
 					}],
 				},
 				errorType: ['toast'],
-
-
 				//日期
 				dateType: 'inspect',
 				dateShow: false,
@@ -484,7 +299,6 @@
 				time: '',
 				time2: '', //有时分秒
 				orgId: '',
-
 				//合同
 				hetong: [],
 				hetongList: [],
@@ -494,7 +308,6 @@
 				//检测类型
 				jianCeType: '',
 				jianCeTypeList: [],
-
 				type: '', //判断哪个功能
 				id: '', //委托单id
 				taskId: '',
@@ -506,19 +319,15 @@
 				iconStyle: {
 					color: '#FFFFFF'
 				},
-
 				lhypbIndex: 0,
 				lhypbShow: false,
 				lhypbIndexData: 'add', //判断样品添加还是修改
 				buttonFlagNum: '',
-
 				taoCanList: [],
 				taoCanShow: true,
 				taoCanXiangmMuList: [],
-
 				meassageShow: false,
 				content: ``,
-
 				itemType: false
 			}
 		},
@@ -637,7 +446,6 @@
 					}
 				})
 			},
-
 			//获取委托编号
 			getLhwtdh() {
 				let smsParams = {
@@ -719,8 +527,6 @@
 					}
 				})
 			},
-
-
 			//获取合同  //weiTouId 委托id特殊 在委托详情和修改才出现
 			getDataHetong(weiTouId) {
 				let info = uni.getStorageSync(USER_INFO);
@@ -975,7 +781,6 @@
 					lists.jianCeType = e[0].value
 				}
 			},
-
 			//提交
 			sumbit(valueType) {
 				//委托提交判断
@@ -1189,7 +994,6 @@
 					})
 				}
 
-
 				this.$refs.form.validate(valid => {
 					if (valid) {
 						if (this.type == 'edit') {
@@ -1396,14 +1200,6 @@
 					this.lhypbIndex = this.form.lhypb.length - 1
 				}
 			},
-			updateSing(item, index) {
-				this.lhypbIndex = index
-				this.lhypbIndexData = 'edit'
-				this.lhypbShow = true
-				this.$nextTick(() => {
-					this.$refs.lhypbMessage.getInit(item)
-				})
-			},
 			//弹出框显示
 			qianming(index) {
 				this.qianshow = true