bug修改

fencang
anthonywj 3 years ago
parent 0a8e26057f
commit 8aca9b7fce

@ -247,7 +247,7 @@ export default {
this.$message.error("请输入接受委托人!"); this.$message.error("请输入接受委托人!");
return; return;
} }
insertEntrustRece(this.inputQuery) updateEntrustRece(this.inputQuery)
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
this.cancelDialog(); this.cancelDialog();

@ -29,7 +29,7 @@
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="search"></el-button> <el-button type="primary" icon="search" @click="search"></el-button>
<el-button type="primary" icon="search" @click="handleAddClick" <el-button type="primary" icon="search" @click="handleAddClick"
:disabled="!configParms.typeBus" :disabled="!configParms.typeThird"
>新增 >新增
</el-button </el-button
> >
@ -58,7 +58,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
:disabled="!configParms.typeBus" :disabled="!configParms.typeThird"
@click.native.stop="handleDeleteClick(scope.row)" @click.native.stop="handleDeleteClick(scope.row)"
>删除 >删除
</el-button </el-button
@ -78,7 +78,7 @@
<modifyDialog :inputQuery="inputQuery"></modifyDialog> <modifyDialog :inputQuery="inputQuery"></modifyDialog>
<div style="text-align: center"> <div style="text-align: center">
<el-button type="primary" size="small" icon="search" @click="onAddSubmit" <el-button type="primary" size="small" icon="search" @click="onAddSubmit"
:disabled="!configParms.typeBus" :disabled="!configParms.typeThird"
>提交 >提交
</el-button </el-button
> >
@ -100,7 +100,7 @@
<modifyDialog :inputQuery="inputQuery"></modifyDialog> <modifyDialog :inputQuery="inputQuery"></modifyDialog>
<div style="text-align: center"> <div style="text-align: center">
<el-button type="primary" size="small" icon="search" @click="onModifySubmit" <el-button type="primary" size="small" icon="search" @click="onModifySubmit"
:disabled="!configParms.typeBus" :disabled="!configParms.typeThird"
>提交 >提交
</el-button </el-button
> >

@ -152,7 +152,7 @@
v-if="isSpCombine" v-if="isSpCombine"
type="text" type="text"
size="small" size="small"
:disabled="scope.row.thirdId==scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3" :disabled="scope.row.thirdId===scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3"
@click.native.stop="splitSelectUdi(scope.row)" @click.native.stop="splitSelectUdi(scope.row)"
>拆分产品 >拆分产品
</el-button> </el-button>

@ -196,6 +196,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
:disabled="configQuery.downstreamEnable"
@click.native="remveBus(scope.$index, scope.row)" @click.native="remveBus(scope.$index, scope.row)"
>移除 >移除
</el-button </el-button
@ -380,7 +381,14 @@ export default {
var selectData = this.multipleSelection; var selectData = this.multipleSelection;
selectData.forEach((obj) => { selectData.forEach((obj) => {
obj.outChange = false; obj.outChange = false;
this.checkedBusTypes.push(obj); let isPut = true;
for (let i = 0; i < this.checkedBusTypes.length; i++) {
if (this.checkedBusTypes[i].action == obj.action) {
isPut = false;
}
}
if (isPut)
this.checkedBusTypes.push(obj);
}); });
this.addBusDialogVisible = false; this.addBusDialogVisible = false;
}, },

@ -574,7 +574,6 @@ export default {
}); });
}, },
addCode(event) { addCode(event) {
debugger
console.log(this.formData) console.log(this.formData)
console.log(this.storageList) console.log(this.storageList)
if (event == null) { if (event == null) {

@ -575,7 +575,6 @@ export default {
this.thisData.stockOrderLists = this.codeArray; this.thisData.stockOrderLists = this.codeArray;
this.thisData.formData = this.formData; this.thisData.formData = this.formData;
let item = this.getActionItem(this.formData.billType); let item = this.getActionItem(this.formData.billType);
debugger
if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true) { if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true) {
this.invQueryData = { this.invQueryData = {
locStorageCode: this.formData.locStorageCode, locStorageCode: this.formData.locStorageCode,

Loading…
Cancel
Save