提交 55ed1a6a 编写于 作者: 张敬贤's avatar 张敬贤

fix

上级 5341fcdc
......@@ -31,6 +31,7 @@
<van-field
v-model="dectionForm.beneficiaryName"
label="受检人"
:disabled="isDisabled"
class="appoint-form-items"
placeholder="请输入受检人姓名"
:rules="[{ required: true, message: '请输入受检人姓名' },{
......@@ -45,6 +46,7 @@
<van-field
v-model="dectionForm.beneficiaryPhone"
class="appoint-form-items"
:disabled="isDisabled"
label="手机号"
placeholder="请输入受检人手机号"
:rules="[{ required: true, message: '请输入受检人手机号' },
......@@ -55,6 +57,7 @@
/>
<van-field
v-model="dectionForm.beneficiaryIdNum"
:disabled="isDisabled"
class="appoint-form-items"
label="身份证号"
placeholder="请输入受检人真实身份证号"
......@@ -259,6 +262,7 @@ export default {
projectEquityNo: '',
yunOrderNo: '',
externalData: {},
isDisabled:false,
};
},
computed: {
......@@ -284,6 +288,7 @@ export default {
);
},
},
mounted() {
......@@ -393,6 +398,7 @@ export default {
this.dectionForm.beneficiaryName = res.data.beneficiaryName;
this.dectionForm.beneficiaryPhone = res.data.beneficiaryPhone;
this.dectionForm.beneficiaryIdNum = res.data.beneficiaryIdNum;
this.isDisabled = (this.dectionForm.beneficiaryName != '' && this.dectionForm.beneficiaryPhone != '' && this.dectionForm.beneficiaryIdNum != '') && (this.dectionForm.beneficiaryName && this.dectionForm.beneficiaryPhone && this.dectionForm.beneficiaryIdNum );
this.$store.dispatch('home/setOrderInfo', res.data);
});
......
......@@ -82,16 +82,6 @@ export default {
projectEquityNo: '',
orderNo: '',
yunOrderNo:'',
// 无问卷-0001 有问卷未填写-0101 已填写问卷未出结果-0102 已出结果无需领用-0401 已出结果未预约-0201 已预约未采样-0301 已预约已采样-0302
routerMap: {
'0001': null,
'0101': null,
'0102': null,
'0401': null,
'0201': '/appoint',
'0301': null,
'0302': null,
},
status:null,
query: {},
buttonStatus:false
......@@ -102,6 +92,7 @@ export default {
console.log(11223);
const { query } = this.$route;
this.query = query;
this.needDetect = query.needDetect === 1;
this.getButtonStatus(query.yunOrderNo);
},
methods: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册