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 31935aeb6a..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 @@ - + diff --git a/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue b/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue index c905e36ca2..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 @@ --> 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/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 @@
-
* 计量单位
+
计量单位