修改bug

wms_pzh
郑明梁 3 years ago
parent 132d4ba9c1
commit d56def6d89

@ -1214,7 +1214,10 @@ export default {
// });
// },
getBusType() {
if( this.formData.id==null){
this.formData.billType=null;
}
let query = {
code: this.formData.invWarehouseCode,
enabled: true,
@ -1289,7 +1292,7 @@ export default {
this.formData.fromSubInvCode = '';
}
// '';
this.locInChange();
// this.locInChange();
this.findMethod();
},
locInChange() {

@ -700,6 +700,7 @@ export default {
});
},
addCode(event) {
this.originCode = "";
this.sictomText = "";
this.formData.corpOrderId = this.formData.corpOrderId.trim();
@ -764,6 +765,7 @@ export default {
},
addCodeSubmit(tQuery) {
addOrderWeb(tQuery).then((response) => {
if (response.code === 20000) {
this.idQuery.id = response.data.orderId;
@ -928,7 +930,7 @@ export default {
}
getLocalJoinByUser(query)
.then((response) => {
this.busTypes = response.data.list || [];
if (this.formData.action != null) {
this.curAction = this.getActionItem(this.formData.action);
@ -966,6 +968,7 @@ export default {
}
,
findMethod(query) {
this.fromOptions = [];
let cQuery = {
key: query,
@ -977,7 +980,7 @@ export default {
this.formData.fromCorpId = this.curAction.defaultUnit;
} else if (this.curAction.corpType == 2)//
{
cQuery.corpType = 4;
cQuery.corpType = 1;
cQuery.outType = 2;
} else if (this.curAction.corpType == 0) {
@ -987,6 +990,7 @@ export default {
getBasicUnitMaintains(cQuery)
.then((response) => {
debugger
this.loading = false;
this.fromOptions = response.data.page.list || [];
if (this.curAction.corpType == 3) {
@ -1095,6 +1099,7 @@ export default {
}
,
actionChange(item) {
this.curAction = this.getActionItem(item);
this.findMethod();
@ -1222,9 +1227,7 @@ export default {
this.formData.code = '';
this.formData.actDate = new Date();
this.codeArray = [];
if(this.formData.invWarehouseCode!=null){
this.getBusType();
}
this.getStorage(this.formData.action);
if (this.$isNotBlank(this.idQuery.id)) {
@ -1267,7 +1270,9 @@ export default {
}
}
this.findSubInvByInv(this.formData.locStorageCode);
if(this.formData.invWarehouseCode!=null){
this.getBusType();
}
//
selectSysParamByKey({paramKey: "muti_inv_mode"}).then((res) => {
if (res.code === 20000) {

@ -185,8 +185,10 @@ export default {
getCodeList() {
this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk;
debugger
let query = {
orderIdFk: this.idQuery.orderIdFk
orderIdFk: this.idQuery.orderIdFk,
code:this.query.code
}
filterDetailProducts(query) //
.then((response) => {

@ -476,11 +476,7 @@ export default {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0');
}
if (this.$isBlank(this.codeArray[i].batchNo)) {
return this.$message.error('批次号不能为空');
}
}
}
if (status === '0') {

Loading…
Cancel
Save