|
|
@ -134,7 +134,8 @@ |
|
|
|
getCurrentDate |
|
|
|
} from '@/utils/index.js' |
|
|
|
import { |
|
|
|
selAllByOrgSidPath |
|
|
|
selAllByOrgSidPath, |
|
|
|
getOrgSidByPath |
|
|
|
} from '@/api/Common/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
@ -158,7 +159,9 @@ |
|
|
|
"list": [ |
|
|
|
|
|
|
|
], |
|
|
|
"remarks": "" |
|
|
|
"remarks": "", |
|
|
|
'createOrgSid': "", |
|
|
|
'useOrgSid': "" |
|
|
|
}, |
|
|
|
hideUploadBtn: false, |
|
|
|
busTypeList: [{ |
|
|
@ -193,6 +196,16 @@ |
|
|
|
|
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getOrgPathSid() { |
|
|
|
getOrgSidByPath({ |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
}).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
doGoodsDel(sid) { |
|
|
|
console.log("doGoodsDel》》》》", sid) |
|
|
|
|
|
|
@ -256,7 +269,9 @@ |
|
|
|
"list": [ |
|
|
|
|
|
|
|
], |
|
|
|
"remarks": "" |
|
|
|
"remarks": "", |
|
|
|
'createOrgSid': "", |
|
|
|
'useOrgSid': "" |
|
|
|
} |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
@ -267,6 +282,7 @@ |
|
|
|
showEdit(row) { |
|
|
|
this.getWarehouseList() |
|
|
|
this.getAllOrgper() |
|
|
|
this.getOrgPathSid() |
|
|
|
var params = { |
|
|
|
sid: row.sid, |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|