lilei 4 年之前
父節點
當前提交
0e8758e975

+ 1 - 1
src/views/salesManagement/salesReturn/detail.vue

@@ -166,7 +166,7 @@ export default {
         },
         {
           title: '退货原因',
-          dataIndex: 'remarks',
+          dataIndex: 'remark',
           width: 150,
           align: 'center',
           customRender: function (text) {

+ 8 - 2
src/views/salesManagement/salesReturn/salesReturnCheck.vue

@@ -32,7 +32,7 @@
           <editable-cell
             size="small"
             :text="record.backStockQty"
-            :max="999999"
+            :max="record.qty"
             :min="0"
             :precision="0"
             @change="onCellChange(record.id, 'backStockQty', $event)" />
@@ -107,6 +107,12 @@ export default {
           align: 'center',
           width: 200
         },
+        {
+          title: '退货数量',
+          dataIndex: 'qty',
+          align: 'center',
+          width: 150
+        },
         {
           title: '坏件数量',
           dataIndex: 'badQty',
@@ -180,7 +186,7 @@ export default {
           _this.selectedRows.map(item => {
             obj.push({
               productSn: item.productSn,
-              backStockQty: item.backStockQty
+              backStockQty: item.qty
             })
           })
           _this.submitCheck(obj)