diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue b/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
index 34bb29ae88..12d87c3ff3 100644
--- a/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
+++ b/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
@@ -227,11 +227,11 @@
busTypeValue: "",
createTime: '',
createByName: window.sessionStorage.getItem('name'),
- deptName: window.sessionStorage.getItem('departmentName'),
- deptSid: window.sessionStorage.getItem('departmentSid'),
+ deptName: '',
+ deptSid: '',
createBySid: window.sessionStorage.getItem('userSid'),
- useOrgSid: window.sessionStorage.getItem('departmentSid'),
- createOrgSid: window.sessionStorage.getItem('orgSid'),
+ useOrgSid: '',
+ createOrgSid: '',
billState: '新建',
billStateKey: 0,
reviewStatus: "",
@@ -261,6 +261,16 @@
},
created() {},
methods: {
+ // getOrgPathSid() {
+ // getOrgSidByPath({
+ // orgPath: window.sessionStorage.getItem('defaultOrgPath')
+ // }).then((res) => {
+ // if (res.success) {
+ // this.formobj.createOrgSid = res.data
+ // this.formobj.useOrgSid = res.data
+ // }
+ // })
+ // },
selectSupplierName(val) {
console.log("supplierNameSelect", val);
@@ -620,6 +630,7 @@
showEdit(row) {
this.getWarehouseList()
this.getsupplierLust()
+ // this.getOrgPathSid()
var params = {
sourceSid: row.sid
}
@@ -630,12 +641,10 @@
this.formobj = resp.data
this.formobj.deliveryDate = getCurrentDate()
- this.formobj.createByName = window.sessionStorage.getItem('name')
- this.formobj.deptName = window.sessionStorage.getItem('departmentName')
- this.formobj.deptSid = window.sessionStorage.getItem('departmentSid')
- this.formobj.createBySid = window.sessionStorage.getItem('userSid')
- this.formobj.useOrgSid = window.sessionStorage.getItem('departmentSid')
- this.formobj.createOrgSid = window.sessionStorage.getItem('orgSid')
+ this.formobj.deptName = window.sessionStorage.getItem('defaultOrgPathName').substring(window
+ .sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1)
+ this.formobj.deptSid = window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage
+ .getItem('defaultOrgPath').lastIndexOf('/') + 1)
}
})
diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue b/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue
index 7b7e1a9611..0ffbc86369 100644
--- a/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue
+++ b/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue
@@ -59,7 +59,7 @@
单据状态
- {{ formobj.billstate }}
+ {{ formobj.billState }}
审核状态
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
index b2a75cc5ec..68300ae46a 100644
--- a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
+++ b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
@@ -25,7 +25,7 @@
制单部门
- {{ formobj.departmentName }}
+ {{ formobj.deptName }}