chris 3 years ago
parent
commit
73d7a91cd9

+ 1 - 1
src/views/modules/common/material-type-component.vue

@@ -103,7 +103,7 @@
         this.getList()
       },
       onChange (item) {
-        console.log(item)
+        // console.log(item)
         if (item === 'undefined') {
           // console.log('m1')
           this.value = null

+ 1 - 1
src/views/modules/cus/contract-record-product-add-or-update.vue

@@ -89,7 +89,7 @@ export default {
       this.$refs['dataForm'].validate((valid) => {
         if (valid) {
           if (this.isAdd === true) {
-            console.log('1')
+            // console.log('1')
             this.dataForm.productId = Math.round(Math.random() * 1000000)
           }
           // 计算含税总价

+ 1 - 1
src/views/modules/msg-center/announcement.vue

@@ -153,7 +153,7 @@
     },
     watch: {
       listenNotice: function (notice) {
-        console.log('notice = ' + JSON.stringify(notice))
+        // console.log('notice = ' + JSON.stringify(notice))
         if (!notice) return
         this.dataForm.noticeId = notice.noticeId
         this.dataForm.businessId = notice.businessId

+ 1 - 1
src/views/modules/sale/add-product.vue

@@ -190,7 +190,7 @@
             this.dataForm.taxAmount = (this.dataForm.cnt * this.dataForm.taxPrice).toFixed(2)
             this.dataForm.taxRate = this.dataForm.taxRateVal ? (Number(this.dataForm.taxRateVal / 100)).toFixed(2) : 0
             this.visible = false
-            console.log('dataForm: ' + JSON.stringify(this.dataForm))
+            // console.log('dataForm: ' + JSON.stringify(this.dataForm))
             this.$emit('addItem', this.dataForm)
           }
         })

+ 2 - 0
src/views/modules/sale/outsource-add-or-update.vue

@@ -263,6 +263,7 @@ export default {
                 this.productDetails.forEach((item) => {
                   item.detailId = Math.round(Math.random() * 1000000)
                 })
+                this.calTotal()
               }
             }
           })
@@ -275,6 +276,7 @@ export default {
                 this.productDetails.forEach((item) => {
                   item.detailId = Math.round(Math.random() * 1000000)
                 })
+                this.calTotal()
               }
             }
           })

+ 2 - 2
src/views/modules/sale/outsource.vue

@@ -67,7 +67,7 @@
           label="采购编码">
         </el-table-column>
         <el-table-column
-          prop="goodsName"
+          prop="productName"
           header-align="center"
           align="center"
           min-width="140"
@@ -75,7 +75,7 @@
           label="产品名称">
         </el-table-column>
         <el-table-column
-          prop="goodsId"
+          prop="prodCode"
           header-align="center"
           align="center"
           min-width="120"

+ 1 - 1
src/views/modules/tech/product-add-or-update.vue

@@ -455,7 +455,7 @@ export default {
         this.dataForm.drawingIdList = val
       },
       docSelectChange (val) {
-        console.log(val)
+        // console.log(val)
         this.dataForm.docIdList = val
       }
     }