...
|
...
|
@@ -14,10 +14,10 @@ |
|
|
<Input v-model.trim="filters.factoryCode.model"
|
|
|
:placeholder="filters.factoryCode.holder" :maxlength="100" ></Input>
|
|
|
</filter-item>
|
|
|
<!--<filter-item :label="filters.upmCode.label">-->
|
|
|
<!--<Input v-model.trim="filters.upmCode.model"-->
|
|
|
<!--:placeholder="filters.upmCode.holder" :maxlength="100" ></Input>-->
|
|
|
<!--</filter-item>-->
|
|
|
<filter-item :label="filters.skuFactoryCode.label">
|
|
|
<Input v-model.trim="filters.skuFactoryCode.model"
|
|
|
:placeholder="filters.skuFactoryCode.holder" :maxlength="100" ></Input>
|
|
|
</filter-item>
|
|
|
|
|
|
<filter-item>
|
|
|
<Button type="primary" @click="filterSearch">筛选</Button>
|
...
|
...
|
@@ -62,9 +62,7 @@ |
|
|
this.filters.productSku.model = null;
|
|
|
this.filters.productSkn.model = null;
|
|
|
this.filters.factoryCode.model = null;
|
|
|
|
|
|
// this.filters.upmCode.model = null;
|
|
|
|
|
|
this.filters.skuFactoryCode.model = null;
|
|
|
this.pageData.current = 1;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -80,8 +78,7 @@ |
|
|
this.filters.productSku.model = null;
|
|
|
this.filters.productSkn.model = null;
|
|
|
this.filters.factoryCode.model = null;
|
|
|
|
|
|
// this.filters.upmCode.model = null;
|
|
|
this.filters.skuFactoryCode.model = null;
|
|
|
this.$route.query.productSkn = null;
|
|
|
|
|
|
this.pageData.current = 1;
|
...
|
...
|
@@ -97,9 +94,7 @@ |
|
|
let productSku = this.filters.productSku.model || null;
|
|
|
let productSkn = this.filters.productSkn.model || null;
|
|
|
let factoryCode = this.filters.factoryCode.model || null;
|
|
|
|
|
|
// let upmCode = this.filters.upmCode.model || null;
|
|
|
|
|
|
let skuFactoryCode = this.filters.skuFactoryCode.model || null;
|
|
|
let pageNo = this.pageData.current;
|
|
|
let pageSize = this.pageData.pageSize;
|
|
|
|
...
|
...
|
@@ -132,8 +127,7 @@ |
|
|
productSku,
|
|
|
productSkn,
|
|
|
factoryCode,
|
|
|
|
|
|
// upmCode,
|
|
|
skuFactoryCode,
|
|
|
pageNo,
|
|
|
pageSize
|
|
|
});
|
...
|
...
|
@@ -144,7 +138,7 @@ |
|
|
},
|
|
|
getInventory() {
|
|
|
return this.filtersParams().then((params) => {
|
|
|
if (params.productSku || params.productSkn || params.factoryCode || params.upmCode) {
|
|
|
if (params.productSku || params.productSkn || params.factoryCode || params.skuFactoryCode) {
|
|
|
this.noFilteredDataText = '暂无数据';
|
|
|
this.$Loading.start();
|
|
|
return this.inventoryService.list(params).then((result) => {
|
...
|
...
|
@@ -177,9 +171,7 @@ |
|
|
productSku: 'productSku',
|
|
|
productSkn: 'productSkn',
|
|
|
factoryCode: 'factoryCode',
|
|
|
|
|
|
// upmCode: 'upmCode',
|
|
|
|
|
|
skuFactoryCode: 'skuFactoryCode',
|
|
|
};
|
|
|
const fields = this.filters;
|
|
|
|
...
|
...
|
|