Ver Fonte

规格尺寸字段更改

lichao há 3 anos atrás
pai
commit
e15665bfee

+ 1 - 1
src/views/basicData/productInformation/configuration/mainList.json

@@ -69,7 +69,7 @@
     },
     {
       "label": "规格尺寸",
-      "prop": "specs",
+      "prop": "typeno",
       "width": 100
     },
     {

+ 1 - 1
src/views/basicData/productInformation/detailsPageEdit.vue

@@ -124,7 +124,7 @@ export default {
           },
           {
             label: "规格",
-            prop: "specs",
+            prop: "typeno", //specs
             span: 8,
             rules: [
               {

+ 1 - 1
src/views/businessManagement/deliveryNotice/configuration/customerContact.json

@@ -85,7 +85,7 @@
       ]
     },{
       "label": "规格型号",
-      "prop": "specificationAndModel",
+      "prop": "typeno",
       "index": 4,
       "width":100,
       "cell": false,

+ 3 - 3
src/views/businessManagement/deliveryNotice/detailsPageEdit.vue

@@ -766,7 +766,7 @@ export default {
         this.contactsData[this.choiceIndexT].itemId = this.tableData[0].id
         selectGoodsNum({
           goodsId: this.tableData[0].id,
-          typeno: this.tableData[0].specs
+          typeno: this.tableData[0].typeno
         }).then(res => {
           this.contactsData[this.choiceIndexT].storageQuantity =  res.data.data
         })
@@ -811,10 +811,10 @@ export default {
           console.log(this.tableData[item])
           selectGoodsNum({
             goodsId: this.tableData[item].id,
-            typeno: this.tableData[item].specs
+            typeno: this.tableData[item].typeno
           }).then(res =>{
             this.tableData[item].storageQuantity =  res.data.data
-            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specs)
+            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specificationAndModel)
             this.tableData[item].itemId = this.tableData[item].id
             this.tableData[item].priceCategory = this.tableData[item].goodsTypeName
             delete this.tableData[item].goodsTypeName

+ 1 - 1
src/views/businessManagement/purchaseOrder/configuration/customerContact.json

@@ -81,7 +81,7 @@
       ]
     },{
       "label": "规格型号",
-      "prop": "specificationAndModel",
+      "prop": "typeno",
       "index": 4,
       "width":100,
       "cell": false,

+ 3 - 3
src/views/businessManagement/purchaseOrder/detailsPageEdit.vue

@@ -841,7 +841,7 @@ export default {
         this.contactsData[this.choiceIndexT].amount = 0
         selectGoodsNum({
           goodsId: this.tableData[0].id,
-          typeno: this.tableData[0].specs
+          typeno: this.tableData[0].typeno
         }).then(res => {
           this.contactsData[this.choiceIndexT].storageQuantity =  res.data.data
         })
@@ -886,13 +886,13 @@ export default {
         for (let item in this.tableData) {
           selectGoodsNum({
             goodsId: this.tableData[item].id,
-            typeno: this.tableData[item].specs
+            typeno: this.tableData[item].typeno
           }).then(res => {
             this.$set(this.tableData[item], 'storageQuantity', res.data.data)
             this.tableData[item].itemId = this.tableData[item].id
             this.tableData[item].priceCategory = this.tableData[item].goodsTypeName
             delete this.tableData[item].id
-            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specs)
+            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specificationAndModel)
             this.$set(this.tableData[item], 'priceType', '一般')
             this.$set(this.tableData[item], 'purchaseQuantity', 0)
             this.$set(this.tableData[item], 'actualQuantity', 0)

+ 1 - 1
src/views/businessManagement/receipt/configuration/customerContact.json

@@ -86,7 +86,7 @@
       ]
     },{
       "label": "规格型号",
-      "prop": "specificationAndModel",
+      "prop": "typeno",
       "index": 4,
       "width":100,
       "cell": false,

+ 3 - 4
src/views/businessManagement/receipt/detailsPageEdit.vue

@@ -566,7 +566,6 @@ export default {
       this.warehouseType = result
     });
     selectWareHouse().then(res => {
-      console.log(res)
       this.warehouseName = res.data.data.records
     })
     if (this.detailData.id) {
@@ -763,7 +762,7 @@ export default {
         this.contactsData[this.choiceIndexT].itemId = this.tableData[0].id
         selectGoodsNum({
           goodsId: this.tableData[0].id,
-          typeno: this.tableData[0].specs
+          typeno: this.tableData[0].typeno
         }).then(res => {
           this.contactsData[this.choiceIndexT].storageQuantity =  res.data.data
         })
@@ -808,7 +807,7 @@ export default {
         for (let item in this.tableData) {
           selectGoodsNum({
             goodsId: this.tableData[item].id,
-            typeno: this.tableData[item].specs
+            typeno: this.tableData[item].typeno
           }).then(res => {
             this.tableData[item].storageQuantity =  res.data.data
             this.tableData[item].itemId = this.tableData[item].id
@@ -817,7 +816,7 @@ export default {
             delete this.tableData[item].id
             delete this.tableData[item].status
             delete this.tableData[item].isDeleted
-            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specs)
+            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specificationAndModel)
             this.$set(this.tableData[item], 'purchaseQuantity', 0)
             this.$set(this.tableData[item], 'actualQuantity', 0)
             this.$set(this.tableData[item], 'purchaseAmount', 0)

+ 1 - 1
src/views/businessManagement/salesOrder/configuration/customerContact.json

@@ -94,7 +94,7 @@
       ]
     },{
       "label": "规格型号",
-      "prop": "specificationAndModel",
+      "prop": "typeno",
       "index": 4,
       "width":100,
       "cell": true,

+ 5 - 5
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -1237,12 +1237,12 @@ export default {
         this.contactsData[this.choiceIndexT].cname = this.tableData[0].cname
         this.contactsData[this.choiceIndexT].code = this.tableData[0].code
         this.contactsData[this.choiceIndexT].typeno = this.tableData[0].typeno
-        this.contactsData[this.choiceIndexT].specificationAndModel = this.tableData[0].specs
+        this.contactsData[this.choiceIndexT].specificationAndModel = this.tableData[0].specificationAndModel
         this.contactsData[this.choiceIndexT].itemId = this.tableData[0].id
         this.contactsData[this.choiceIndexT].priceCategory = this.tableData[0].goodsTypeName
         selectGoodsNum({
           goodsId: this.tableData[0].id,
-          typeno: this.tableData[0].specs
+          typeno: this.tableData[0].typeno
         }).then(res => {
           this.contactsData[this.choiceIndexT].storageQuantity =  res.data.data
         })
@@ -1288,13 +1288,13 @@ export default {
           // this.$set(this.tableData[item], 'storageQuantity', 0)
           selectGoodsNum({
             goodsId: this.tableData[item].id,
-            typeno: this.tableData[item].specs
+            typeno: this.tableData[item].typeno
           }).then(res => {
             this.tableData[item].priceCategory = this.tableData[item].goodsTypeName
             this.tableData[item].storageQuantity =  res.data.data
             delete this.tableData[item].goodsTypeName
             this.tableData[item].itemId = this.tableData[item].id
-            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specs)
+            this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specificationAndModel)
             this.$set(this.tableData[item], 'priceType', '一般')
             this.$set(this.tableData[item], 'orderQuantity', 0)
             this.$set(this.tableData[item], 'actualQuantity', 0)
@@ -1393,7 +1393,7 @@ export default {
       for (let item in list) {
         selectGoodsNum({
           goodsId: list[item].id,
-          typeno: list[item].specs
+          typeno: list[item].typeno
         }).then(res => {
           this.$set(list[item], 'storageQuantity', res.data.data)
         })

+ 1 - 1
src/views/maintenance/goodsOnTheShelves/configuration/mainList.json

@@ -69,7 +69,7 @@
     },
     {
       "label": "规格尺寸",
-      "prop": "specs",
+      "prop": "typeno",
       "width": 100
     },
     {