|
@@ -3,8 +3,7 @@
|
|
|
<view class="u-m-20">
|
|
<view class="u-m-20">
|
|
|
<u-form :model="form" ref="uForm" label-width="220" :error-type="errorType">
|
|
<u-form :model="form" ref="uForm" label-width="220" :error-type="errorType">
|
|
|
<u-form-item label="样品名称" prop="yangPinMingCheng" required>
|
|
<u-form-item label="样品名称" prop="yangPinMingCheng" required>
|
|
|
- <u-input placeholder="请输入样品名称" v-model="form.yangPinMingCheng"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
|
|
+ <u-input placeholder="请输入样品名称" v-model="form.yangPinMingCheng" :disabled="type == 'detail'?true :false" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品编号">
|
|
<u-form-item label="样品编号">
|
|
|
<u-input placeholder="请输入样品编号" v-model="form.yangPinBianHao" disabled />
|
|
<u-input placeholder="请输入样品编号" v-model="form.yangPinBianHao" disabled />
|
|
@@ -13,8 +12,7 @@
|
|
|
<u-input placeholder="请输入姓名" v-model="form.xingMing" :disabled="type == 'detail'?true :false" />
|
|
<u-input placeholder="请输入姓名" v-model="form.xingMing" :disabled="type == 'detail'?true :false" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="性别">
|
|
<u-form-item label="性别">
|
|
|
- <uni-data-select placeholder="请选择性别" v-model="form.xingBie" :localdata="sexList"
|
|
|
|
|
- v-if="type != 'detail'">
|
|
|
|
|
|
|
+ <uni-data-select placeholder="请选择性别" v-model="form.xingBie" :localdata="sexList" v-if="type != 'detail'">
|
|
|
</uni-data-select>
|
|
</uni-data-select>
|
|
|
<!-- <u-radio-group v-model="form.xingBie" v-if="type != 'detail'">
|
|
<!-- <u-radio-group v-model="form.xingBie" v-if="type != 'detail'">
|
|
|
<u-radio v-for="(it, index) in sexList" :key="index" :name="it.name">
|
|
<u-radio v-for="(it, index) in sexList" :key="index" :name="it.name">
|
|
@@ -27,20 +25,16 @@
|
|
|
<u-input placeholder="请输入年龄" v-model="form.nianLing" :disabled="type == 'detail'?true :false" />
|
|
<u-input placeholder="请输入年龄" v-model="form.nianLing" :disabled="type == 'detail'?true :false" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="送检批号/编号" prop="songJianPiHao" required>
|
|
<u-form-item label="送检批号/编号" prop="songJianPiHao" required>
|
|
|
- <u-input placeholder="请输入送检批号/编号" v-model="form.songJianPiHao"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
|
|
+ <u-input placeholder="请输入送检批号/编号" v-model="form.songJianPiHao" :disabled="type == 'detail'?true :false" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样本状态" prop="yangPinZhuangTai" required>
|
|
<u-form-item label="样本状态" prop="yangPinZhuangTai" required>
|
|
|
- <u-input placeholder="请选择样本状态" v-model="form.yangPinZhuangTai"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('state')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样本状态" v-model="form.yangPinZhuangTai" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('state')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="送检时间" prop="songJianShiJian" required>
|
|
<u-form-item label="送检时间" prop="songJianShiJian" required>
|
|
|
<u-input placeholder="请选择送检时间" v-model="form.songJianShiJian" disabled />
|
|
<u-input placeholder="请选择送检时间" v-model="form.songJianShiJian" disabled />
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="dateClick('inspect')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="dateClick('inspect')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<view class="qingshe">
|
|
<view class="qingshe">
|
|
@@ -64,15 +58,13 @@
|
|
|
<u-form-item label="检测类型" v-if="type != 'detail'">
|
|
<u-form-item label="检测类型" v-if="type != 'detail'">
|
|
|
<!-- <u-input placeholder="请选择检测类型" type="select" v-model="form.jianCeType"
|
|
<!-- <u-input placeholder="请选择检测类型" type="select" v-model="form.jianCeType"
|
|
|
@click="selectClick('jianCeType')" /> -->
|
|
@click="selectClick('jianCeType')" /> -->
|
|
|
- <lin-select item-key="id" placeholder='请输入内容' :binData="jianCeTypeList" checkType="checkbox"
|
|
|
|
|
- tags="name" inputStyle="" selectStyle="" overflow="hide" @getBackVal="checkBoxChange">
|
|
|
|
|
|
|
+ <lin-select item-key="id" placeholder='请输入内容' :binData="jianCeTypeList" checkType="checkbox" tags="name" inputStyle="" selectStyle="" overflow="hide" @getBackVal="checkBoxChange">
|
|
|
</lin-select>
|
|
</lin-select>
|
|
|
|
|
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
|
|
|
|
|
<view v-if="false">
|
|
<view v-if="false">
|
|
|
- <uni-data-checkbox v-model="form.jianCeType" multiple :localdata="jianCeTypeList"
|
|
|
|
|
- @change="checkBoxChange">
|
|
|
|
|
|
|
+ <uni-data-checkbox v-model="form.jianCeType" multiple :localdata="jianCeTypeList" @change="checkBoxChange">
|
|
|
</uni-data-checkbox>
|
|
</uni-data-checkbox>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -89,8 +81,7 @@
|
|
|
<view v-if="type != 'detail'">
|
|
<view v-if="type != 'detail'">
|
|
|
<view>
|
|
<view>
|
|
|
<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
|
|
<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
|
|
|
- <label class=" uni-list-cell uni-list-cell-pd" v-show="it.checked"
|
|
|
|
|
- style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
|
|
|
|
|
|
|
+ <label class=" uni-list-cell uni-list-cell-pd" v-show="it.checked" style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
|
|
|
<view>
|
|
<view>
|
|
|
<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
|
|
<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
|
|
|
</view>
|
|
</view>
|
|
@@ -108,9 +99,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view>
|
|
<view>
|
|
|
<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
|
|
<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
|
|
|
- <label class=" uni-list-cell uni-list-cell-pd"
|
|
|
|
|
- v-show="((form.jianCeTypeString.indexOf(it.jian_ce_lei_bie_ || '') !== -1) || (form.search && it.xiang_mu_bian_hao.indexOf(form.search) !== -1)) && !it.checked"
|
|
|
|
|
- style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
|
|
|
|
|
|
|
+ <label class=" uni-list-cell uni-list-cell-pd" v-show="((form.jianCeTypeString.indexOf(it.jian_ce_lei_bie_ || '') !== -1) || (form.search && it.xiang_mu_bian_hao.indexOf(form.search) !== -1)) && !it.checked" style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
|
|
|
<view>
|
|
<view>
|
|
|
<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
|
|
<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
|
|
|
</view>
|
|
</view>
|
|
@@ -152,20 +141,17 @@
|
|
|
|
|
|
|
|
<u-form-item label="选择套餐" prop="name" label-position="top" v-if="taoCanShow">
|
|
<u-form-item label="选择套餐" prop="name" label-position="top" v-if="taoCanShow">
|
|
|
<view class="btnBox" v-if="type != 'detail'">
|
|
<view class="btnBox" v-if="type != 'detail'">
|
|
|
- <u-button class="btnSin" size="mini" :type="it.checked ? 'success':''"
|
|
|
|
|
- v-for="(it, x) in form.taoCanList" :key="x" @click="changeTaoCanIndex(it,x,it.checked)">
|
|
|
|
|
|
|
+ <u-button class="btnSin" size="mini" :type="it.checked ? 'success':''" v-for="(it, x) in form.taoCanList" :key="x" @click="changeTaoCanIndex(it,x,it.checked)">
|
|
|
{{it.tao_can_ming_chen}}
|
|
{{it.tao_can_ming_chen}}
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="btnBox" v-else>
|
|
<view class="btnBox" v-else>
|
|
|
- <u-tag class="btnSin" size="default" v-for="(it, x) in form.taoCanList" v-if="it.checked"
|
|
|
|
|
- :text="it.tao_can_ming_chen" :key="x" />
|
|
|
|
|
|
|
+ <u-tag class="btnSin" size="default" v-for="(it, x) in form.taoCanList" v-if="it.checked" :text="it.tao_can_ming_chen" :key="x" />
|
|
|
</view>
|
|
</view>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
|
|
|
|
|
<u-form-item label="套餐项目" prop="name" v-if="taoCanShow">
|
|
<u-form-item label="套餐项目" prop="name" v-if="taoCanShow">
|
|
|
- <div style="display: flex;justify-content: flex-end;"
|
|
|
|
|
- @click="taoCanXiangMuShow = !taoCanXiangMuShow">
|
|
|
|
|
|
|
+ <div style="display: flex;justify-content: flex-end;" @click="taoCanXiangMuShow = !taoCanXiangMuShow">
|
|
|
<u-icon name="arrow-up" v-if="taoCanXiangMuShow"></u-icon>
|
|
<u-icon name="arrow-up" v-if="taoCanXiangMuShow"></u-icon>
|
|
|
<u-icon name="arrow-down" v-else></u-icon>
|
|
<u-icon name="arrow-down" v-else></u-icon>
|
|
|
</div>
|
|
</div>
|
|
@@ -196,17 +182,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<block v-if="form.showBoolean1">
|
|
<block v-if="form.showBoolean1">
|
|
|
<u-form-item label="样品类型①" required>
|
|
<u-form-item label="样品类型①" required>
|
|
|
- <u-input placeholder="请选择样品类型①" v-model="form.yangPinLeiXing"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('yangpinType1','样品类型')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品类型①" v-model="form.yangPinLeiXing" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType1','样品类型')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品运输条件①" required>
|
|
<u-form-item label="样品运输条件①" required>
|
|
|
- <u-input placeholder="请选择样品运输条件①" v-model="form.yangBenYunShuTiao"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('transportType1')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品运输条件①" v-model="form.yangBenYunShuTiao" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType1')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品数量①" required>
|
|
<u-form-item label="样品数量①" required>
|
|
@@ -214,16 +196,13 @@
|
|
|
<text v-else>{{form.shuLiang}}</text>
|
|
<text v-else>{{form.shuLiang}}</text>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品规格①" required>
|
|
<u-form-item label="样品规格①" required>
|
|
|
- <u-input placeholder="请输入样品规格①" v-model="form.yangPinGuiGe"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button slot="right" type="success" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('specification1','样品规格')" v-if="type != 'detail'">规格
|
|
|
|
|
|
|
+ <u-input placeholder="请输入样品规格①" v-model="form.yangPinGuiGe" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification1','样品规格')" v-if="type != 'detail'">规格
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
</block>
|
|
</block>
|
|
|
|
|
|
|
|
- <view
|
|
|
|
|
- v-if="(type == 'detail' && (form.yangPinLeiXingEr || form.yangPinYunShuTiao || form.shuLiangEr > 0 || form.yangPinGuiGeEr)) || type != 'detail'">
|
|
|
|
|
|
|
+ <view v-if="(type == 'detail' && (form.yangPinLeiXingEr || form.yangPinYunShuTiao || form.shuLiangEr > 0 || form.yangPinGuiGeEr)) || type != 'detail'">
|
|
|
<view class="qingshe" @click="form.showBoolean2 = !form.showBoolean2">
|
|
<view class="qingshe" @click="form.showBoolean2 = !form.showBoolean2">
|
|
|
<view>
|
|
<view>
|
|
|
②
|
|
②
|
|
@@ -235,17 +214,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<block v-if="form.showBoolean2">
|
|
<block v-if="form.showBoolean2">
|
|
|
<u-form-item label="样品类型②" required>
|
|
<u-form-item label="样品类型②" required>
|
|
|
- <u-input placeholder="请选择样品类型②" v-model="form.yangPinLeiXingEr"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('yangpinType2','样品类型')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品类型②" v-model="form.yangPinLeiXingEr" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType2','样品类型')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品运输条件②" required>
|
|
<u-form-item label="样品运输条件②" required>
|
|
|
- <u-input placeholder="请选择样品运输条件②" v-model="form.yangPinYunShuTiao"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('transportType2')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品运输条件②" v-model="form.yangPinYunShuTiao" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType2')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品数量②" required>
|
|
<u-form-item label="样品数量②" required>
|
|
@@ -253,17 +228,14 @@
|
|
|
<text v-else>{{form.shuLiangEr}}</text>
|
|
<text v-else>{{form.shuLiangEr}}</text>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品规格②" required>
|
|
<u-form-item label="样品规格②" required>
|
|
|
- <u-input placeholder="请输入样品规格②" v-model="form.yangPinGuiGeEr"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button slot="right" type="success" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('specification2','样品规格')" v-if="type != 'detail'">规格
|
|
|
|
|
|
|
+ <u-input placeholder="请输入样品规格②" v-model="form.yangPinGuiGeEr" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification2','样品规格')" v-if="type != 'detail'">规格
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view
|
|
|
|
|
- v-if="(type == 'detail' && (form.yangPinLeiXingSan || form.yangPinYunShuSan || form.shuLiangSan > 0 || form.yangPinGuiGeSan)) || type != 'detail'">
|
|
|
|
|
|
|
+ <view v-if="(type == 'detail' && (form.yangPinLeiXingSan || form.yangPinYunShuSan || form.shuLiangSan > 0 || form.yangPinGuiGeSan)) || type != 'detail'">
|
|
|
<view class="qingshe" @click="form.showBoolean3 = !form.showBoolean3">
|
|
<view class="qingshe" @click="form.showBoolean3 = !form.showBoolean3">
|
|
|
<view>
|
|
<view>
|
|
|
③
|
|
③
|
|
@@ -275,17 +247,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<block v-if="form.showBoolean3">
|
|
<block v-if="form.showBoolean3">
|
|
|
<u-form-item label="样品类型③" required>
|
|
<u-form-item label="样品类型③" required>
|
|
|
- <u-input placeholder="请选择样品类型③" v-model="form.yangPinLeiXingSan"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('yangpinType3','样品类型')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品类型③" v-model="form.yangPinLeiXingSan" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType3','样品类型')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品运输条件③" required>
|
|
<u-form-item label="样品运输条件③" required>
|
|
|
- <u-input placeholder="请选择样品运输条件③" v-model="form.yangPinYunShuSan"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('transportType3')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品运输条件③" v-model="form.yangPinYunShuSan" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType3')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品数量③" required>
|
|
<u-form-item label="样品数量③" required>
|
|
@@ -293,17 +261,14 @@
|
|
|
<text v-else>{{form.shuLiangSan}}</text>
|
|
<text v-else>{{form.shuLiangSan}}</text>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品规格③" required>
|
|
<u-form-item label="样品规格③" required>
|
|
|
- <u-input placeholder="请输入样品规格③" v-model="form.yangPinGuiGeSan"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button slot="right" type="success" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('specification3','样品规格')" v-if="type != 'detail'">规格
|
|
|
|
|
|
|
+ <u-input placeholder="请输入样品规格③" v-model="form.yangPinGuiGeSan" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification3','样品规格')" v-if="type != 'detail'">规格
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view
|
|
|
|
|
- v-if="(type == 'detail' && (form.yangPinLeiXingSi || form.yangPinYunShuSi || form.shuLiangSi > 0 || form.yangPinGuiGeSi)) || type != 'detail'">
|
|
|
|
|
|
|
+ <view v-if="(type == 'detail' && (form.yangPinLeiXingSi || form.yangPinYunShuSi || form.shuLiangSi > 0 || form.yangPinGuiGeSi)) || type != 'detail'">
|
|
|
<view class="qingshe" @click="form.showBoolean4 = !form.showBoolean4">
|
|
<view class="qingshe" @click="form.showBoolean4 = !form.showBoolean4">
|
|
|
<view>
|
|
<view>
|
|
|
④
|
|
④
|
|
@@ -315,17 +280,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<block v-if="form.showBoolean4">
|
|
<block v-if="form.showBoolean4">
|
|
|
<u-form-item label="样品类型④" required>
|
|
<u-form-item label="样品类型④" required>
|
|
|
- <u-input placeholder="请选择样品类型④" v-model="form.yangPinLeiXingSi"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('yangpinType4','样品类型')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品类型④" v-model="form.yangPinLeiXingSi" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType4','样品类型')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品运输条件④" required>
|
|
<u-form-item label="样品运输条件④" required>
|
|
|
- <u-input placeholder="请选择样品运输条件④" v-model="form.yangPinYunShuSi"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button type="success" slot="right" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('transportType4')" v-if="type != 'detail'">选择
|
|
|
|
|
|
|
+ <u-input placeholder="请选择样品运输条件④" v-model="form.yangPinYunShuSi" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType4')" v-if="type != 'detail'">选择
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品数量④" required>
|
|
<u-form-item label="样品数量④" required>
|
|
@@ -333,18 +294,15 @@
|
|
|
<text v-else>{{form.shuLiangSi}}</text>
|
|
<text v-else>{{form.shuLiangSi}}</text>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品规格④" required>
|
|
<u-form-item label="样品规格④" required>
|
|
|
- <u-input placeholder="请输入样品规格④" v-model="form.yangPinGuiGeSi"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
- <u-button slot="right" type="success" class="btn-back-color" size="mini"
|
|
|
|
|
- @click="sheetClick('specification4','样品规格')" v-if="type != 'detail'">规格
|
|
|
|
|
|
|
+ <u-input placeholder="请输入样品规格④" v-model="form.yangPinGuiGeSi" :disabled="type == 'detail'?true :false" />
|
|
|
|
|
+ <u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification4','样品规格')" v-if="type != 'detail'">规格
|
|
|
</u-button>
|
|
</u-button>
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<u-form-item label="项目名称" prop="xiangMuMingCheng" v-if="form.mingChengShow">
|
|
<u-form-item label="项目名称" prop="xiangMuMingCheng" v-if="form.mingChengShow">
|
|
|
- <u-input placeholder="请输入项目名称" v-model="form.xiangMuMingCheng"
|
|
|
|
|
- :disabled="type == 'detail'?true :false" />
|
|
|
|
|
|
|
+ <u-input placeholder="请输入项目名称" v-model="form.xiangMuMingCheng" :disabled="type == 'detail'?true :false" />
|
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
<u-form-item label="样品总价" prop="yangPinZongJia">
|
|
<u-form-item label="样品总价" prop="yangPinZongJia">
|
|
|
<u-input v-model="form.yangPinZongJia" disabled />
|
|
<u-input v-model="form.yangPinZongJia" disabled />
|