预验收单据模块bug修复

prod
曹晨晨 2 years ago
parent 5b8631e39d
commit cde95abe15

@ -187,8 +187,9 @@
</el-row> </el-row>
<el-row v-if="documentShow"> <el-row v-if="documentShow">
<el-col :span="11"> <el-col :span="11">
<el-form-item prop="" label="预验收单据:"> <el-form-item prop="acceptance" label="预验收单据:">
<el-input <el-input
style="width:90%"
:disabled="true" :disabled="true"
v-model="orderFormData.checkPreInOrders" v-model="orderFormData.checkPreInOrders"
></el-input> ></el-input>
@ -398,6 +399,9 @@ export default {
action: [ action: [
{ required: true, message: "请选择单据类型", trigger: "change" }, { required: true, message: "请选择单据类型", trigger: "change" },
], ],
acceptance:[
{required: true, message: "请选入预验收单据", trigger: "blur"},
]
}, },
isScan: true, isScan: true,
scanText: "扫码录入:", scanText: "扫码录入:",
@ -463,10 +467,6 @@ export default {
changeInv() { changeInv() {
this.orderFormData.action = null; this.orderFormData.action = null;
this.getBusTypeByInv(); this.getBusTypeByInv();
// if(scanPreIn = true && backPreinType === 1){
// }
}, },
//, //,
@ -567,10 +567,13 @@ export default {
} }
if(this.curAction.scanPreIn = true && this.curAction.backPreinType == 1){ if(this.curAction.scanPreIn = true && this.curAction.backPreinType == 1){
this.documentShow=true this.documentShow=true
}else{ }else if(this.orderFormData.action===""){
this.documentShow=false this.documentShow=false
} }
else{
this.documentShow=false
}
this.giveselectbox();
}, },
@ -934,7 +937,6 @@ export default {
created() { created() {
// //
this.codeFormData.code = ""; this.codeFormData.code = "";
this.giveselectbox();
// //
if (this.viewType == 2) { if (this.viewType == 2) {
//2.13 //2.13

Loading…
Cancel
Save