ywj_dev
anthonywj 2 years ago
parent a4c6541780
commit 6ff5b2a359

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

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

Loading…
Cancel
Save