yusheng 11 달 전
부모
커밋
2a34616f49

+ 5 - 4
src/BIZComponents/innerdetails.vue

@@ -475,13 +475,14 @@
         newColumns: [], // 动态表头
         qualityStatus: {
           0: '未质检',
-          1: '已质检',
-        }, // 质检状态 0未检 1已检
+          1: '待检',
+          2: '已质检'
+        }, // 质检状态
         qualityResults: {
           1: '合格',
           2: '不合格',
-          3: '让步接收',
-        }, // 质检结果 1合格 2不合格 
+          3: '让步接收'
+        }, // 质检结果 1合格 2不合格
         productList: [], // 产品列表
         showPackingList: [], // 展示的包装列表
         packingList: [], // 包装列表

+ 2 - 1
src/BIZComponents/outdetails.vue

@@ -497,7 +497,8 @@
         newColumns: [], // 动态表头
         qualityStatus: {
           0: '未质检',
-          1: '已质检'
+          1: '待检',
+          2: '已质检'
         }, // 质检状态 0未检 1已检
         qualityResults: {
           1: '合格',

+ 62 - 58
src/views/purchasingManage/purchaseOrder/invoice/components/inventoryTable.vue

@@ -104,6 +104,8 @@
           <el-input-number
             :controls="false"
             v-model="scope.row.receiveTotalWeight"
+            @blur="changeSendTotalWeight(scope.$index)"
+
             style="width: 100%"
           >
           </el-input-number>
@@ -116,6 +118,8 @@
           <el-input-number
             :controls="false"
             v-model="scope.row.increaseTotalWeight"
+            @blur="changeSendTotalWeight(scope.$index)"
+
             style="width: 100%"
           >
           </el-input-number>
@@ -521,64 +525,64 @@
             slot: 'weightUnit',
             align: 'center'
           },
-          // {
-          //   width: 160,
-          //   prop: 'pricingWay',
-          //   label: '计价方式',
-          //   slot: 'pricingWay',
-          //   align: 'center',
-          //   formatter: (row, column) => {
-          //     return row.pricingWay == 1
-          //       ? '按数量计费'
-          //       : row.pricingWay == 2
-          //       ? '按重量计费'
-          //       : '';
-          //   }
-          // },
-          // {
-          //   width: 160,
-          //   prop: 'singlePrice',
-          //   label: '单价',
-          //   slot: 'singlePrice',
-          //   align: 'center'
-          // },
-          // {
-          //   width: 120,
-          //   prop: 'taxRate',
-          //   label: '税率',
-          //   formatter: (_row, _column, cellValue) => {
-          //     return _row.taxRate ? _row.taxRate + '%' : '';
-          //   },
-          //   align: 'center'
-          // },
-          // {
-          //   width: 180,
-          //   prop: 'notaxSinglePrice',
-          //   label: '不含税单价',
-          //   slot: 'notaxSinglePrice',
-          //   align: 'center'
-          // },
-          // {
-          //   width: 160,
-          //   prop: 'discountSinglePrice',
-          //   label: '折后单价',
-          //   slot: 'discountSinglePrice',
-          //   align: 'center'
-          // },
-          // {
-          //   width: 120,
-          //   prop: 'totalPrice',
-          //   label: '合计',
-          //   slot: 'totalPrice',
-          //   align: 'center'
-          // },
-          // {
-          //   width: 120,
-          //   prop: 'discountTotalPrice',
-          //   label: '折后合计',
-          //   slot: 'discountTotalPrice',
-          //   align: 'center'
-          // },
+          {
+            width: 160,
+            prop: 'pricingWay',
+            label: '计价方式',
+            slot: 'pricingWay',
+            align: 'center',
+            formatter: (row, column) => {
+              return row.pricingWay == 1
+                ? '按数量计费'
+                : row.pricingWay == 2
+                ? '按重量计费'
+                : '';
+            }
+          },
+          {
+            width: 160,
+            prop: 'singlePrice',
+            label: '单价',
+            slot: 'singlePrice',
+            align: 'center'
+          },
+          {
+            width: 120,
+            prop: 'taxRate',
+            label: '税率',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate ? _row.taxRate + '%' : '';
+            },
+            align: 'center'
+          },
+          {
+            width: 180,
+            prop: 'notaxSinglePrice',
+            label: '不含税单价',
+            slot: 'notaxSinglePrice',
+            align: 'center'
+          },
+          {
+            width: 160,
+            prop: 'discountSinglePrice',
+            label: '折后单价',
+            slot: 'discountSinglePrice',
+            align: 'center'
+          },
+          {
+            width: 120,
+            prop: 'totalPrice',
+            label: '合计',
+            slot: 'totalPrice',
+            align: 'center'
+          },
+          {
+            width: 120,
+            prop: 'discountTotalPrice',
+            label: '折后合计',
+            slot: 'discountTotalPrice',
+            align: 'center'
+          },
           {
             prop: 'provenance',
             label: '产地',