修改bug

dev
郑明梁 2 years ago
parent 25f5cc3f06
commit e8a74e7347

@ -598,7 +598,7 @@
<el-select v-model="inputQuery.checkPdaEd" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkPdaEd" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -621,7 +621,7 @@
<el-select v-model="inputQuery.checkUdims" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkUdims" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -644,7 +644,7 @@
<el-select v-model="inputQuery.checkPc" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkPc" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -667,7 +667,7 @@
<el-select v-model="inputQuery.checkSp" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkSp" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -689,7 +689,7 @@
<el-select v-model="inputQuery.checkChange" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkChange" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -712,7 +712,7 @@
<el-select v-model="inputQuery.checkBalance" :disabled="!inputQuery.checkEnable" style="width: 75%" <el-select v-model="inputQuery.checkBalance" :disabled="!inputQuery.checkEnable" style="width: 75%"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>
@ -734,7 +734,7 @@
<el-select v-model="inputQuery.checkCopy" style="width: 75%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkCopy" style="width: 75%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" placeholder="是否启用"
> >
<el-option label="无业务单扫码拣货" :value="0"></el-option> <el-option label="无业务单扫码拣货" :value="0"></el-option>
<el-option label="有业务单有三期拣货" :value="1"></el-option> <el-option label="有业务单有三期拣货" :value="1"></el-option>
<el-option label="有业务单无三期拣货" :value="2"></el-option> <el-option label="有业务单无三期拣货" :value="2"></el-option>
<el-option label="有业务单拣货(有无三期)" :value="3"></el-option> <el-option label="有业务单拣货(有无三期)" :value="3"></el-option>

@ -341,10 +341,9 @@ export default {
endTime: "", endTime: "",
inCodeStatus: 0, inCodeStatus: 0,
}; };
this.getList();
this.haveDistributionVisible = true; this.haveDistributionVisible = true;
this.actDateRange = []; this.actDateRange = [];
this.getList();
}, },
hideSearch() { hideSearch() {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;

@ -124,6 +124,7 @@
v-if=" v-if="
curAction.corpType === 0 || curAction.corpType === 0 ||
curAction.corpType === 2 || curAction.corpType === 2 ||
curAction.corpType === 4 ||
(curAction.corpType === 1 && !curAction.genUnit) (curAction.corpType === 1 && !curAction.genUnit)
" "
> >
@ -790,6 +791,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
}; };
debugger
if (this.curAction.corpType == 3) { if (this.curAction.corpType == 3) {
// //
cQuery.corpType = 3; cQuery.corpType = 3;
@ -801,6 +803,9 @@ export default {
} else if (this.curAction.corpType == 1) { } else if (this.curAction.corpType == 1) {
cQuery.corpType = 1; cQuery.corpType = 1;
cQuery.outType = 2; cQuery.outType = 2;
}else if (this.curAction.corpType == 4) {
//
cQuery.corpType = 4;
} else } else
return; return;
getBasicUnitMaintains(cQuery) getBasicUnitMaintains(cQuery)
@ -815,6 +820,7 @@ export default {
// //
actionChange(item) { actionChange(item) {
this.orderFormData.checkPreInOption = null; this.orderFormData.checkPreInOption = null;
this.orderFormData.checkPreInOrders = null; this.orderFormData.checkPreInOrders = null;
this.checkPreInArray = []; this.checkPreInArray = [];
@ -829,6 +835,7 @@ export default {
if ( if (
this.curAction.corpType == 0 || this.curAction.corpType == 0 ||
this.curAction.corpType == 2 || this.curAction.corpType == 2 ||
this.curAction.corpType == 4 ||
(this.curAction.corpType == 1 && !this.curAction.genUnit) (this.curAction.corpType == 1 && !this.curAction.genUnit)
) { ) {
//1. //1.

@ -61,12 +61,12 @@
<el-col :span="17"> <el-col :span="17">
<el-form-item label="往来单位:"> <el-form-item label="往来单位:">
<el-input v-model="inputQuery.fromCorp" ref="fromCorpInputRef" <el-input v-model="inputQuery.fromCorp" ref="fromCorpInputRef"
@keypress.enter.native="addFromCorp($event)" :disabled="this.inputQuery.udiCode==null" @keypress.enter.native="addFromCorp($event)" :disabled="this.inputQuery.udiCode==null || this.showFlg ==false"
placeholder="请输入往来单位" clearable></el-input> placeholder="请输入往来单位" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<el-button type="primary" size="mini" :disabled="this.inputQuery.udiCode==null" @click="addFromCorp" <el-button type="primary" size="mini" :disabled="this.inputQuery.udiCode==null || this.showFlg == false" @click="addFromCorp"
style="margin-left: 15px">添加 style="margin-left: 15px">添加
</el-button> </el-button>
</el-col> </el-col>
@ -153,6 +153,7 @@ export default {
supId: null, supId: null,
}, },
pId: null, pId: null,
showFlg:false,
popupsVisible: false, popupsVisible: false,
orderMutiDelectVisible: false, orderMutiDelectVisible: false,
tableName: '使用记录选择', tableName: '使用记录选择',
@ -255,6 +256,8 @@ export default {
this.inputQuery.totalCount = response.data.data.totalCount this.inputQuery.totalCount = response.data.data.totalCount
this.inputQuery.useCount = response.data.data.useCount this.inputQuery.useCount = response.data.data.useCount
this.$refs.fromCorpInputRef.focus(); this.$refs.fromCorpInputRef.focus();
this.checkType=null;
this.showFlg=false;
this.enterKeyup(); this.enterKeyup();
} else { } else {
this.$refs.markInputRef.focus(); this.$refs.markInputRef.focus();
@ -270,6 +273,8 @@ export default {
}); });
} else if (data == 'no') { } else if (data == 'no') {
this.inputQuery.mark = ""; this.inputQuery.mark = "";
this.checkType=1;
this.showFlg=false;
this.$refs.markInputRef.focus(); this.$refs.markInputRef.focus();
this.enterKeyup(); this.enterKeyup();
} }
@ -321,6 +326,9 @@ export default {
if (this.inputQuery.fromCorp != 'true' && this.inputQuery.fromCorp != 'false') { if (this.inputQuery.fromCorp != 'true' && this.inputQuery.fromCorp != 'false') {
var query = { var query = {
udiCode:this.inputQuery.udiCode,
mark:this.inputQuery.mark,
checkType:this.checkType,
mutiIdFk: this.pId, mutiIdFk: this.pId,
fromCorp: this.inputQuery.fromCorp fromCorp: this.inputQuery.fromCorp
} }
@ -418,6 +426,7 @@ export default {
this.inputQuery.totalCount = response.data.totalCount this.inputQuery.totalCount = response.data.totalCount
this.inputQuery.useCount = response.data.useCount this.inputQuery.useCount = response.data.useCount
this.pId = response.data.id; this.pId = response.data.id;
this.showFlg=true;
this.$refs.fromCorpInputRef.focus(); this.$refs.fromCorpInputRef.focus();
this.selectMutiDetailList() this.selectMutiDetailList()
} else { } else {

@ -4,7 +4,8 @@
<el-form :model="filterQuery" label-width="100px"> <el-form :model="filterQuery" label-width="100px">
<el-row> <el-row>
<el-form-item label="单据号"> <el-form-item label="单据号">
<el-input v-model="filterQuery.recordKey" style="width: 100%" placeholder="请输入单据号" clearable></el-input> <el-input v-model="filterQuery.recordKey" style="width: 100%" placeholder="请输入单据号"
clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="单据日期"> <el-form-item label="单据日期">
<el-date-picker <el-date-picker
@ -205,6 +206,7 @@ export default {
editStatus: 1, editStatus: 1,
}; };
this.actDateRange = []; this.actDateRange = [];
this.detailList = []
this.getList(); this.getList();
}, },

Loading…
Cancel
Save