|
|
@ -86,7 +86,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import req from '@/api/disassemble/inventoryProfit' |
|
|
|
import { getOrgSidByPath, choiceSupplierInfo } from '@/api/Common/dictcommons' |
|
|
|
import { choiceSupplierInfo } from '@/api/Common/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'InventoryProfitEdit', |
|
|
@ -164,12 +164,6 @@ export default { |
|
|
|
req.fetchDetailsBySid(sid).then(resp => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj = resp.data |
|
|
|
getOrgSidByPath({ orgPath: this.formobj.orgPath }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
choiceSupplierInfo({ deptSid: this.formobj.deptSid }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.supplierList = resp.data |
|
|
|