diff --git a/yxt-as-ui/src/api/storage/upShelf.js b/yxt-as-ui/src/api/storage/upShelf.js index c1c93fbe21..e13a9ad43d 100644 --- a/yxt-as-ui/src/api/storage/upShelf.js +++ b/yxt-as-ui/src/api/storage/upShelf.js @@ -15,9 +15,8 @@ export default { // 初始化 init: function(data) { return request({ - url: '/wms/apiadmin/WmsShelfBill/details', - method: 'get', - data:data + url: '/wms/apiadmin/WmsShelfBill/details?sid='+data, + method: 'get' }); }, diff --git a/yxt-as-ui/src/views/goods/category/categoryAdd.vue b/yxt-as-ui/src/views/goods/category/categoryAdd.vue index fac57fb20c..6c8e201906 100644 --- a/yxt-as-ui/src/views/goods/category/categoryAdd.vue +++ b/yxt-as-ui/src/views/goods/category/categoryAdd.vue @@ -206,9 +206,11 @@ methods: { initData() { console.log('>>>>>>>>>initData') - var parpams = { - orgPath: window.sessionStorage.getItem('defaultOrgPath'), - } + var parpams = { + orgPath: window.sessionStorage.getItem('defaultOrgPath'), + userSid: window.sessionStorage.getItem('userSid'), + menuUrl: this.$route.path + } req.getAllType(parpams).then(resp => { this.goodsTypeList = resp.data diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue index e38a3428de..21f6d6b11c 100644 --- a/yxt-as-ui/src/views/goods/goods/goodsAdd.vue +++ b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue @@ -805,10 +805,11 @@ methods: { initData() { - var parpams ={ - orgPath: window.sessionStorage.getItem('defaultOrgPath'), + var parpams = { + orgPath: window.sessionStorage.getItem('defaultOrgPath'), + userSid: window.sessionStorage.getItem('userSid'), + menuUrl: this.$route.path } - req2.getAllBrand(parpams).then(resp => { this.brandList = resp.data }) diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue index 2d53731e7a..8362e0b26c 100644 --- a/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue +++ b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue @@ -16,9 +16,9 @@
-
+ @@ -343,9 +343,11 @@ }, initData() { - var parpams = { - orgPath: window.sessionStorage.getItem('defaultOrgPath'), - } + var parpams = { + orgPath: window.sessionStorage.getItem('defaultOrgPath'), + userSid: window.sessionStorage.getItem('userSid'), + menuUrl: this.$route.path + } req2.getAllBrand(parpams).then(resp => { this.brandList = resp.data }) @@ -423,6 +425,7 @@ "agencyPrice": "", "picPath": [] } + this.imgList = [] this.$emit('doback') }, showAdd() { @@ -439,6 +442,13 @@ .then(resp => { if (resp.success) { this.formobj = resp.data + + for (var i = 0; i < resp.data.picPath.length; i++) { + var item = resp.data.picPath[i] + this.imgList.push({ + url:item.url + }) + } } }) .catch(e => { diff --git a/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue b/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue index 9378499ef1..ca1b1f963c 100644 --- a/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue +++ b/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue @@ -15,9 +15,9 @@
-
+ @@ -41,7 +41,7 @@ -
商品拼音缩写
+
拼音缩写
{{formobj.goodsPY}} @@ -52,7 +52,7 @@ -
商品单位
+
计量单位
{{formobj.goodsUnitName}} @@ -84,14 +84,14 @@ -
商品品牌
+
品牌
{{formobj.brandName}}
-
商品厂家
+
厂家
{{formobj.manufacturerName}} @@ -112,16 +112,16 @@ -
商品排序
+
库存上限
- {{formobj.sortNo}} + {{formobj.inventoryAlertUpperLimit}}
-
商品备注
+
库存下限
- {{formobj.skuRemarks}} + {{formobj.inventoryAlertLowerLimit}}
@@ -129,17 +129,17 @@ - -
库存上限
+ +
排序
- {{formobj.inventoryAlertUpperLimit}} + {{formobj.sortNo}}
-
库存下限
+
备注
- {{formobj.inventoryAlertLowerLimit}} + {{formobj.skuRemarks}}
diff --git a/yxt-as-ui/src/views/goods/goods/index.vue b/yxt-as-ui/src/views/goods/goods/index.vue index d7a1efa74c..1d4a5e5810 100644 --- a/yxt-as-ui/src/views/goods/goods/index.vue +++ b/yxt-as-ui/src/views/goods/goods/index.vue @@ -27,7 +27,8 @@ - + @@ -39,7 +40,8 @@ - + @@ -230,6 +232,8 @@ initData() { var parpams = { orgPath: window.sessionStorage.getItem('defaultOrgPath'), + userSid: window.sessionStorage.getItem('userSid'), + menuUrl: this.$route.path } // 品牌 req2.getAllBrand(parpams).then(resp => { diff --git a/yxt-as-ui/src/views/goods/unit/unitAdd.vue b/yxt-as-ui/src/views/goods/unit/unitAdd.vue index 02c3055a8b..974a123262 100644 --- a/yxt-as-ui/src/views/goods/unit/unitAdd.vue +++ b/yxt-as-ui/src/views/goods/unit/unitAdd.vue @@ -30,7 +30,7 @@
备注
- +
diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/index.vue b/yxt-as-ui/src/views/storage/deliveryNotice/index.vue index eea8b7279e..d69bffaff7 100644 --- a/yxt-as-ui/src/views/storage/deliveryNotice/index.vue +++ b/yxt-as-ui/src/views/storage/deliveryNotice/index.vue @@ -20,7 +20,7 @@ format="yyyy-MM-dd" value-format="yyyy-MM-dd" style="width: 200px;"> - + @@ -79,7 +79,7 @@ - + diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue b/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue index 0ffbc86369..38658af6ac 100644 --- a/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue +++ b/yxt-as-ui/src/views/storage/deliveryNotice/receiptInfo.vue @@ -37,7 +37,7 @@ -
外部单号
+
来源单号
{{ formobj.sourceBillNo }}
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/index.vue b/yxt-as-ui/src/views/storage/receivingGoods/index.vue index ee5433a9e3..611127c990 100644 --- a/yxt-as-ui/src/views/storage/receivingGoods/index.vue +++ b/yxt-as-ui/src/views/storage/receivingGoods/index.vue @@ -75,7 +75,7 @@ - + @@ -350,10 +350,10 @@ return } - if (this.selectionList[0].billState == '已完成') { + if (this.selectionList[0].billState == '新建') { this.$message({ type: 'warning', - message: "此记录已完成,不可操作。", + message: "此记录未完成,不可操作。", showClose: true }) return diff --git a/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue b/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue index 431465cc2d..cfd991bf14 100644 --- a/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue +++ b/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue @@ -108,7 +108,7 @@ --> @@ -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'), diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue index 91e217d672..9c5d9d56ed 100644 --- a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue +++ b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue @@ -114,7 +114,7 @@ --> diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue index 1fe4f7dd77..5062e4631a 100644 --- a/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue +++ b/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue @@ -120,7 +120,7 @@ var params = { sid: row.sid } - req.init(params) + req.init(row.sid) .then(resp => { if (resp.success) { this.formobj = resp.data diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue index 9943fdd80b..82d62f1b81 100644 --- a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue +++ b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue @@ -51,7 +51,7 @@ -
* 库区容量
+
库区容量
@@ -59,7 +59,7 @@
-
* 计量单位
+
计量单位