ywj_dev
anthonywj 2 years ago
parent a4c6541780
commit 6ff5b2a359

@ -243,10 +243,10 @@ export default {
thrCheckChange: null,
thrCheckBalance: null,
thrCheckCopy: null,
advancePreIn:false,
advancePreIn: false,
checkVailDate: 0, //
checkExpire: true, //
checkCertExpire: false, //
checkExpire: 0, //
checkCertExpire: 0, //
},
enableMap: {
@ -340,12 +340,12 @@ export default {
return;
}
if(this.inputQuery.preInBack==1){
if(isBlank(this.inputQuery.backPreinType)){
if (this.inputQuery.preInBack == 1) {
if (isBlank(this.inputQuery.backPreinType)) {
this.$message.error("请选择预验收剩余库存退库方式!");
return;
}
if(isBlank(this.inputQuery.preInBackAction)){
if (isBlank(this.inputQuery.preInBackAction)) {
this.$message.error("请选择预验收退库单据类型!");
return;
}
@ -501,11 +501,11 @@ export default {
thrCheckChange: null,
thrCheckBalance: null,
thrCheckCopy: null,
advancePreIn:false,
advancePreIn: false,
checkVailDate: 0, //
checkExpire: true, //
checkCertExpire: false, //
backPreinType:1,
backPreinType: 1,
}
this.addDialogVisible = true;
},

@ -164,8 +164,9 @@
<el-form-item label="是否检查过期" prop="prefix">
<el-select v-model="inputQuery.checkExpire"
style="width: 90%" placeholder="" clearable>
<el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option>
<el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option>
</el-select>
</el-form-item>
</el-col>
@ -176,8 +177,9 @@
<el-form-item label="是否检查资质过期" prop="prefix">
<el-select v-model="inputQuery.checkCertExpire"
style="width: 90%" placeholder="" clearable>
<el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option>
<el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option>
</el-select>
</el-form-item>
</el-col>
@ -1128,7 +1130,7 @@
import {candidateBusType} from '@/api/basic/busType'
import busTypeAdvancedSettings from '@/views/basic/busType/busTypeAdvancedSettings.vue'
import {isBlank} from '@/utils/strUtil'
import {getOriginBusType,selectList} from '@/api/basic/busOriginType'
import {getOriginBusType, selectList} from '@/api/basic/busOriginType'
import {getBasicUnitMaintains2} from '@/api/basic/basicUnitMaintain'
export default {
@ -1263,17 +1265,17 @@ export default {
},
selectBussinessList(){
selectBussinessList() {
selectList().then((res) => {
this.preInBackList=res.data;
this.preInBackList = res.data;
})
},
getPreInBack(){
if(this.inputQuery.preInBack==false){
this.inputQuery.preInBackAction=null;
this.inputQuery.backPreinType='';
}else{
this.inputQuery.backPreinType=1;
getPreInBack() {
if (this.inputQuery.preInBack == false) {
this.inputQuery.preInBackAction = null;
this.inputQuery.backPreinType = '';
} else {
this.inputQuery.backPreinType = 1;
}
},
//
@ -1359,9 +1361,9 @@ export default {
this.selectBussinessList()
this.oldData = Object.assign({}, this.inputQuery)
debugger
if(this.inputQuery.id==null || this.inputQuery.id==''){
this.inputQuery.codeFillCheck=false;
this.inputQuery.preInBack=false;
if (this.inputQuery.id == null || this.inputQuery.id == '') {
this.inputQuery.codeFillCheck = false;
this.inputQuery.preInBack = false;
}
}

Loading…
Cancel
Save