...
|
...
|
@@ -161,11 +161,13 @@ |
|
|
return values;
|
|
|
},
|
|
|
productList(params) {
|
|
|
this.$Loading.start();
|
|
|
service.allotPurchaseList(params)
|
|
|
.then(res => {
|
|
|
const fmt = 'YYYY-MM-DD HH:mm:ss';
|
|
|
const list = res.data.records;
|
|
|
|
|
|
this.$Loading.finish();
|
|
|
_.each(list, i => {
|
|
|
i._colorName = i.factoryGoodsName || '';
|
|
|
i.createTime = moment.unix(i.createTime).format(fmt);
|
...
|
...
|
|