Browse Source

参照装箱单面料列表查询

jbb 2 years ago
parent
commit
023ece216c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/book/packingListModalFabrics.vue

+ 5 - 5
src/views/book/packingListModalFabrics.vue

@@ -36,7 +36,7 @@
                 <a-form-model-item label="类型">
                   <a-select v-model="queryParam.type">
                     <a-select-option value="">请选择</a-select-option>
-                    <a-select-option value="料">辅料</a-select-option>
+                    <a-select-option value="料">辅料</a-select-option>
                     <a-select-option value="面料">面料</a-select-option>
                   </a-select>
                 </a-form-model-item>
@@ -66,7 +66,7 @@
           :data-source="packingListData"
           :loading="loading"
           :pagination="pagination"
-          :row-key="record => record.id"
+          :row-key="record => record.itemId"
           :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
           @change="handleTableChange"
           bordered
@@ -201,7 +201,7 @@ export default {
       this.$nextTick(() => {
       PackingList(this.queryParam).then(res => {
           if (res.success) {
-           this.packingListData = res.result.records
+           this.packingListData = res.result.records       
            this.pagination = {
               total: res.result.total,
               current: res.result.current,
@@ -216,12 +216,12 @@ export default {
     },
     // 弹框查询按钮
     searchQuery() {
-      this.getPackingList
+      this.getPackingList()
     },
     // 重置
     searchReset() {
       this.queryParam = {}
-      this.queryParam.tailoringOrFabric = '0'
+      this.queryParam.tailoringOrFabric = '1'
       this.getPackingList()
       // this.getShipmentList()
     },