caojunjie %!s(int64=2) %!d(string=hai) anos
pai
achega
92b800ebe8
Modificáronse 1 ficheiros con 10 adicións e 4 borrados
  1. 10 4
      src/views/exportTrade/purchaseContract/index.vue

+ 10 - 4
src/views/exportTrade/purchaseContract/index.vue

@@ -124,10 +124,10 @@
                             <template slot="corpNameSearch">
                                 <crop-select v-model="params.corpId" corpType="GYS" />
                             </template>
-                            <template slot="orderQuantity" slot-scope="scope">
-                                <el-input-number v-if="activeName === 'importStaging'" v-model="scope.row.orderQuantity"
+                            <template slot="actualQuantity" slot-scope="scope">
+                                <el-input-number v-if="activeName === 'importStaging'" v-model="scope.row.actualQuantity"
                                     :precision="2" :min="0.01" :controls="false"></el-input-number>
-                                <span v-else>{{ scope.row.orderQuantity }}</span>
+                                <span v-else>{{ scope.row.actualQuantity }}</span>
                             </template>
                             <template slot-scope="scope" slot="menu">
                                 <el-button type="text" icon="el-icon-edit" size="small"
@@ -292,10 +292,14 @@ export default {
                     label: "数量",
                     prop: "orderQuantity"
                 }, {
-                    label: "采购数",
+                    label: "采购数",
                     prop: "purchaseQuantity",
                     overHidden: true
                 }, {
+                    label: "待采数",
+                    prop: "actualQuantity",
+                    overHidden: true
+                }, {
                     label: "螺纹",
                     prop: "remarksOne",
                     overHidden: true
@@ -754,9 +758,11 @@ export default {
             this.goodsListShow = []
             this.goodsListSave = []
             this.totalTwo = 0
+            this.dialogData = []
             listBYStatus({}).then(res => {
                 this.treeData = res.data.data
             });
+            this.dialogOnLoad(this.page);
         }
     }
 };