修改bug

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

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

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

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

@ -289,6 +289,10 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.listQuery.customerId = store.getters.customerId; 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) { if (this.filterType != null && this.filterType === 2) {
filterAllProduct(this.listQuery) filterAllProduct(this.listQuery)
@ -340,7 +344,7 @@ export default {
this.$message.error('未选择产品'); this.$message.error('未选择产品');
return; return;
} }
if(this.ids.length>0){ if(this.ids.length>0){
for(var i=0;i<this.ids.length;i++){ for(var i=0;i<this.ids.length;i++){
if(this.ids[i]==this.multipleSelection.rlId){ if(this.ids[i]==this.multipleSelection.rlId){
@ -397,7 +401,7 @@ export default {
this.multipleSelection.zczbhhzbapzbh = this.currentCert; this.multipleSelection.zczbhhzbapzbh = this.currentCert;
this.combine(); this.combine();
} }
}, },
}, },
components: {udiRlDetailDialog}, components: {udiRlDetailDialog},

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

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

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

@ -34,7 +34,9 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </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>
<el-row style="width: 100%"> <el-row style="width: 100%">

Loading…
Cancel
Save