Authored by gexuhui

inventory umdCode 替换为 skuFactoryCode

... ... @@ -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;
... ...
... ... @@ -97,15 +97,13 @@ export default function() {
holder: '',
fieldSpan: 18
},
// upmCode: {
// label: '入库识别码',
// labelSpan: 6,
// model: '',
// holder: '',
// fieldSpan: 18
// }
skuFactoryCode: {
label: '入库识别码',
labelSpan: 6,
model: '',
holder: '',
fieldSpan: 18
}
}
};
}
... ...