Merge remote-tracking branch 'origin/orderChange' into zhairh

zhairh
x_z 3 years ago
commit 23154db0d5

@ -490,7 +490,7 @@
<div style="margin-top: 18px;margin-bottom: 18px">
<el-checkbox v-model="editQuery.isDisable" class=""
@change="diableChange"
>是否禁用
>是否禁用{{editQuery.isDisable}}
</el-checkbox>
<el-checkbox v-model="editQuery.isAdavence" class=""
>是否寄售
@ -1151,7 +1151,7 @@ export default {
},
diableChange() {
let query = {
relId: this.editQuery.id
relId: this.pId
}
disableUdi(query)
.then((response) => {
@ -1278,7 +1278,7 @@ export default {
})
.then(() => {
let query = {
relId: this.editQuery.id,
relId: this.pId,
thirdSys: row.sysId
};
removeRl(query)
@ -1421,6 +1421,7 @@ export default {
this.editDialogVisible = true;
this.editQuery = row;
this.pId=row.id;
this.pId=row.id;
this.relevanceEdit = {
id: row.id,
// thirdId: row.thirdId,

@ -238,7 +238,6 @@ export default {
fromOptions: [],
loading: false,
detailList: [],
storageList: [],
detailLoading: false,
subInvList: [],
@ -354,6 +353,7 @@ export default {
},
findSubStorageMethod() {
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
this.getBusType();
let cQuery = {
code: this.formData.invWarehouseCode,
filter: 2,
@ -435,6 +435,7 @@ export default {
},
getBusType() {
let query = {
code: this.formData.invWarehouseCode,
enabled: true,
};
getLocalJoinByUser(query)
@ -445,15 +446,6 @@ export default {
.catch(() => {
});
},
getStorage() {
this.storageList = [];
filterAllByUser()
.then((response) => {
this.storageList = response.data || [];
})
.catch(() => {
});
},
getStockOrderDetailList(orderId) {
let query = {
orderIdFk: orderId
@ -482,9 +474,10 @@ export default {
let date = new Date();
this.formData.corpOrderId = parseTime(date, '{y}{m}{d}{h}{i}{s}') + Math.ceil(Math.random() * 89 + 10);
}
this.formData.invWarehouseCode = this.$store.getters.locSubInvCode;
this.formData.locStorageCode = this.$store.getters.locInvCode;
this.getBusType();
this.findSubInvByInv(this.formData.locStorageCode);
this.getStorage();
this.getStockOrderDetailList(this.curRow.id);
}
}

@ -871,6 +871,7 @@ export default {
}
},
getBusType() {
this.query.locStorageCode= this.subInvList.find(item => item.code == this.query.invWarehouseCode).parentId
let query = {
code: this.query.invWarehouseCode,
enabled: true,

@ -946,6 +946,7 @@ export default {
},
getBusType() {
this.query.locStorageCode= this.subInvList.find(item => item.code == this.query.invWarehouseCode).parentId
let query = {
code: this.query.invWarehouseCode,
enabled: true,

@ -550,8 +550,10 @@ export default {
let tQuery = {
orderId: this.idQuery.id,
locStorageCode: this.formData.locStorageCode,
invStorageCode: this.formData.invStorageCode,
invWarehouseCode: this.formData.invWarehouseCode,
fromSubInvCode: this.formData.fromSubInvCode,
subInvCode: this.formData.subInvCode,
action: this.formData.action,
fromCorp: this.formData.fromCorp,
fromCorpId: this.formData.fromCorpId,
@ -1005,11 +1007,6 @@ export default {
},
findSubStorageMethod(val) {
this.subInvList.forEach(item => {
if (item.code === val) {
this.formData.locStorageCode = item.parentId;
}
});
this.getBusType();
let cQuery = {
code: this.formData.invWarehouseCode,
@ -1229,6 +1226,8 @@ export default {
this.query.limit = parseInt(this.query.limit);
this.query.corpOrderId = query.id;
}
this.formData.invWarehouseCode = this.$store.getters.locSubInvCode;
this.formData.locStorageCode = this.$store.getters.locInvCode;
if (this.$isNotBlank(this.formData.locStorageCode)) {
this.findStorageMethod();
}

@ -377,9 +377,10 @@ export default {
};
if (this.inputQuery.formData == null) {
this.formData = {}
} else this.formData = this.inputQuery.formData;
} else{
this.formData = this.inputQuery.formData;
console.log(this.inputQuery.formData);
}
if (this.formData.filePath != null) {
this.choiceFile = "更换文件";
} else {

@ -449,8 +449,10 @@ export default {
created() {
if (this.editType == 0) {
this.inputQuery.customerId = getUUID("");
}
}else{
this.getCompanyCertList();
}
this.headers = {
ADMIN_ID: store.getters.adminId,
ADMIN_TOKEN: store.getters.token,
@ -576,7 +578,7 @@ export default {
,
addCert(row) {
if (this.$isNotBlank(row)) {
if (this.$isNotBlank(row) && this.$isNotBlank(row.id)) {
this.formName = 2
this.inputQuery.formData = row;
this.editTye = 2;

Loading…
Cancel
Save