|
|
@ -371,17 +371,20 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
getOrgSidByPath({ |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
}).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
init(){ |
|
|
|
getOrgSidByPath({ |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
}).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// commodityInput(value) { |
|
|
|
// this.commodityQuery.params.name = value |
|
|
|
// this.commodityLoading = true |
|
|
@ -674,6 +677,7 @@ |
|
|
|
this.isUpdata = false |
|
|
|
console.log("showAdd", this.isUpdata); |
|
|
|
|
|
|
|
this.init() |
|
|
|
this.getsupplierLust() |
|
|
|
this.getWarehouseList() |
|
|
|
|
|
|
@ -692,6 +696,7 @@ |
|
|
|
showEdit(row) { |
|
|
|
this.title = "【修改】" |
|
|
|
this.isUpdata = true |
|
|
|
this.init() |
|
|
|
this.getsupplierLust() |
|
|
|
this.getWarehouseList() |
|
|
|
console.log("showEdit", this.isUpdata); |
|
|
|