|
@@ -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()
|
|
|
},
|