Browse Source

1.增加客户库存品列表

2.修改客户订单列表
dev-warehouse
pref_mail@163.com 2 years ago
parent
commit
a31454049d
  1. 1
      src/api/distribution/distributionReservation.js
  2. 13
      src/api/distribution/distributionStockList.js
  3. 2
      src/option/distribution/distributionStockArticle.js
  4. 4
      src/option/distribution/distributionStockArticleFrom.js
  5. 44
      src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue
  6. 1066
      src/views/reservation/lnventory_list.vue
  7. 2591
      src/views/reservation/order_list.vue
  8. 1131
      src/views/reservation/reservation_list.vue

1
src/api/distribution/distributionReservation.js

@ -12,6 +12,7 @@ export const getList = (current, size, params) => {
}) })
} }
export const getDetail = (id) => { export const getDetail = (id) => {
return request({ return request({
url: '/api/logpm-distribution/reservation/detail', url: '/api/logpm-distribution/reservation/detail',

13
src/api/distribution/distributionStockList.js

@ -23,6 +23,19 @@ export const getStockListOwn = (current, size, params) => {
} }
}) })
} }
export const getStockListClient = (current, size, params) => {
return request({
url: '/api/logpm-distribution/distributionStockList/listClient',
method: 'get',
params: {
...params,
current,
size,
}
})
}
export const getListStockList = (current, size, params) => { export const getListStockList = (current, size, params) => {
return request({ return request({
url: '/api/logpm-distribution/distributionStockList/list', url: '/api/logpm-distribution/distributionStockList/list',

2
src/option/distribution/distributionStockArticle.js

@ -403,7 +403,7 @@ export default {
}, },
{ {
label: '物料名称', label: '物料名称',
prop: 'material' prop: 'materialName'
}, },
{ {
label: '数量', label: '数量',

4
src/option/distribution/distributionStockArticleFrom.js

@ -99,7 +99,7 @@ export default {
}, },
{ {
label: "包条码", label: "包条码",
prop: "packetBarCode", prop: "orderPackageCode",
}, },
{ {
label: "货位信息", label: "货位信息",
@ -123,7 +123,7 @@ export default {
}, },
{ {
label: "物料", label: "物料",
prop: "material", prop: "materialName",
}, },
{ {
label: "数量", label: "数量",

44
src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue

@ -693,7 +693,7 @@ export default {
}, { }, {
prop: 'createTime', prop: 'createTime',
label: '创建时间', label: '创建时间',
type: 1, type: 4,
values: '', values: '',
width: '150', width: '150',
checkarr: [], checkarr: [],
@ -1137,17 +1137,6 @@ export default {
this.height = this.setPx(document.body.clientHeight - 340); this.height = this.setPx(document.body.clientHeight - 340);
getDictionaryBiz('distribution_type').then(res => { getDictionaryBiz('distribution_type').then(res => {
this.distributionType = res.data.data; this.distributionType = res.data.data;
/* this.checkcColumnList("typeServerName", this.columnList).checkarr=res.data.data.map(item=>{
item.value=item.dictKey
item.label=item.dictValue
return item
});*/
// this.columnList[26].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
getDictionaryBiz('order_package_status').then(res => { getDictionaryBiz('order_package_status').then(res => {
this.deliveryOrderStatus = res.data.data; this.deliveryOrderStatus = res.data.data;
@ -1156,11 +1145,7 @@ export default {
item.label=item.dictValue item.label=item.dictValue
return item return item
}); });
// this.columnList[24].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
getDictionaryBiz('basic_grounding').then(res => { getDictionaryBiz('basic_grounding').then(res => {
this.checkcColumnList("groundingStatusName", this.columnList).checkarr=res.data.data.map(item=>{ this.checkcColumnList("groundingStatusName", this.columnList).checkarr=res.data.data.map(item=>{
@ -1168,11 +1153,7 @@ export default {
item.label=item.dictValue item.label=item.dictValue
return item return item
}); });
// this.columnList[19].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
getDictionaryBiz('freeze_status').then(res => { getDictionaryBiz('freeze_status').then(res => {
this.checkcColumnList("freezeStatusName", this.columnList).checkarr=res.data.data.map(item=>{ this.checkcColumnList("freezeStatusName", this.columnList).checkarr=res.data.data.map(item=>{
@ -1180,11 +1161,7 @@ export default {
item.label=item.dictValue item.label=item.dictValue
return item return item
}); });
// this.columnList[19].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
getDictionaryBiz('stockup_status').then(res => { getDictionaryBiz('stockup_status').then(res => {
this.checkcColumnList("stockupStatusName", this.columnList).checkarr=res.data.data.map(item=>{ this.checkcColumnList("stockupStatusName", this.columnList).checkarr=res.data.data.map(item=>{
@ -1192,11 +1169,7 @@ export default {
item.label=item.dictValue item.label=item.dictValue
return item return item
}); });
// this.columnList[36].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
getDictionaryBiz('order_reservation_status').then(res => { getDictionaryBiz('order_reservation_status').then(res => {
this.checkcColumnList("reservationStatusName", this.columnList).checkarr=res.data.data.map(item=>{ this.checkcColumnList("reservationStatusName", this.columnList).checkarr=res.data.data.map(item=>{
@ -1204,18 +1177,13 @@ export default {
item.label=item.dictValue item.label=item.dictValue
return item return item
}); });
// this.columnList[35].checkarr =res.data.data.map(item=>{
// item.value=item.dictKey
// item.label=item.dictValue
// return item
// });
}); });
}, },
checkcColumnList(prop,columnList){ checkcColumnList(prop,columnList){
for(var a = 0; a < columnList.length; a++){ for(var a = 0; a < columnList.length; a++){
if(columnList[a].prop===prop){ if(columnList[a].prop===prop){
console.log("1111111111111",columnList[a]);
return columnList[a]; return columnList[a];
} }
} }

1066
src/views/reservation/lnventory_list.vue

File diff suppressed because it is too large Load Diff

2591
src/views/reservation/order_list.vue

File diff suppressed because it is too large Load Diff

1131
src/views/reservation/reservation_list.vue

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save