修改bug

wms_pzh
郑明梁 3 years ago
parent 545e8b2069
commit 54dc906893

@ -455,6 +455,7 @@ export default {
this.editQuery = JSON.parse(JSON.stringify(row));
this.editChangeTypeVisible = true;
this.getBusTypes();
this.findDefaultSubInv();
}
,
hideForm() {
@ -527,6 +528,7 @@ export default {
});
},
findDefaultSubInv() {
this.subInvList = [];
let query = {
pcode: this.editQuery.defaultInv
@ -539,8 +541,7 @@ export default {
});
},
invChange() {
if (this.$isNotBlank(this.inputQuery.defaultSubInv))
this.inputQuery.defaultSubInv = null;
this.editQuery.defaultSubInv = null;
this.findDefaultSubInv();
},
},
@ -549,6 +550,7 @@ export default {
this.getTypes();
this.getList();
this.getStorage();
}
}
;

@ -421,6 +421,9 @@ export default {
},
created() {
if(this.editQuery.isUseDy==1){
this.checked=true
}
let ttquery = {
uuid: this.editQuery.uuid,
page: 1,

@ -1215,7 +1215,7 @@ export default {
// },
getBusType() {
if( this.formData.id==null){
if(this.$isBlank(this.idQuery.id)){
this.formData.billType=null;
}
let query = {
@ -1383,6 +1383,13 @@ export default {
if(this.formData.invWarehouseCode!=null){
this.getBusType();
}
//
if(this.formData.locStorageCode!=null){
this.findStorageMethod();
}
this.getStorage();
this.findSubInvByInv();
this.findSubStorageMethod();

@ -289,6 +289,10 @@ export default {
getList() {
this.loading = true;
this.listQuery.customerId = store.getters.customerId;
if( this.data.companyName!=undefined && this.data.companyName!=null ){
this.listQuery.companyName = this.data.companyName;
}
if (this.filterType != null && this.filterType === 2) {
filterAllProduct(this.listQuery)

@ -1075,10 +1075,11 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
let param = {billNo: row.billNo};
let param = {billNo: row.billNo,contrastStatus:2};
rollbackOrder(param).then((res) => {
if (res.code === 20000) {
this.$message.success("回退成功");
this.getList();
}
})
}).catch(() => {

@ -834,14 +834,10 @@ export default {
} else {
this.$alert(response.message, '提示', {
confirmButtonText: '确定',
type: 'warning',
closeOnClickModal: true,
callback: action => {
this.$refs.inputRef.focus();
this.$refs.inputRef.select();
}
this.$message({
type: 'error',
message: "提交失败!" + this.editTitle,
customClass: 'messageIndex'
});
}
}

@ -185,12 +185,12 @@ export default {
getCodeList() {
this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk;
debugger
let query = {
orderIdFk: this.idQuery.orderIdFk,
code:this.query.code
}
filterDetailProducts(query) //
// let query = {
// orderIdFk: this.idQuery.orderIdFk,
// code:this.query.code
// }
filterDetailProducts(this.query) //
.then((response) => {
this.loading = false;
this.codeArry = response.data.list || [];

@ -34,7 +34,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.orderIdFk" placeholder="所属单号"></el-input>
</el-form-item>
</el-row>
<el-row style="width: 100%">

Loading…
Cancel
Save