diff --git a/klp-ui/src/api/wms/annealPerformance.js b/klp-ui/src/api/wms/annealPerformance.js index bf0b6bf1a..076a7bb67 100644 --- a/klp-ui/src/api/wms/annealPerformance.js +++ b/klp-ui/src/api/wms/annealPerformance.js @@ -8,3 +8,12 @@ export function getAnnealPerformance(query) { params: query }) } + +// 查询退火计划中的加工前钢卷列表 +export function getAnnealRawCoils(query) { + return request({ + url: '/wms/anneal/performance/rawCoils', + method: 'get', + params: query + }) +} diff --git a/klp-ui/src/api/wms/coilChangeLog.js b/klp-ui/src/api/wms/coilChangeLog.js new file mode 100644 index 000000000..891cb7561 --- /dev/null +++ b/klp-ui/src/api/wms/coilChangeLog.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 根据钢卷ID查询钢卷变更日志 +export function getCoilChangeLogByCoilId(coilId) { + return request({ + url: '/wms/coilChangeLog/byCoilId/' + coilId, + method: 'get', + timeout: 100000 + }) +} diff --git a/klp-ui/src/views/crm/contract/components/ContractTabs.vue b/klp-ui/src/views/crm/contract/components/ContractTabs.vue index bf337eb52..299866db7 100644 --- a/klp-ui/src/views/crm/contract/components/ContractTabs.vue +++ b/klp-ui/src/views/crm/contract/components/ContractTabs.vue @@ -75,10 +75,11 @@ - - - - + + + + + @@ -134,10 +135,11 @@ - - - - + + + + + @@ -417,7 +419,7 @@ export default { orderId: this.orderId, pageNum: this.productPagination.currentPage, pageSize: this.productPagination.pageSize, - ...this.productCoilBo + coilBo: this.productCoilBo }).then(res => { this.productCoilList = res.rows || []; this.productPagination.total = res.total || 0; @@ -431,7 +433,7 @@ export default { }); }, fetchProductCoilStatistics() { - getProductCoilsStatisticsByContract({ ...this.productCoilBo, orderId: this.orderId }).then(res => { + getProductCoilsStatisticsByContract({ orderId: this.orderId, coilBo: this.productCoilBo }).then(res => { this.productCoilStatistics = res.data || {}; }); }, @@ -445,6 +447,21 @@ export default { this.productCoilBo = {}; this.handleProductFilter(); }, + handleProductCoilStatusChange(val) { + if (val === 'in_stock') { + this.productCoilBo.status = 0; + this.productCoilBo.dataType = 1; + } else if (val === 'shipped') { + this.productCoilBo.status = 1; + this.productCoilBo.dataType = undefined; + } else if (val === 'history') { + this.productCoilBo.status = 0; + this.productCoilBo.dataType = 0; + } else { + this.productCoilBo.status = undefined; + this.productCoilBo.dataType = undefined; + } + }, handleDeliveryFilter() { this.deliveryCoilBo.selectType = this.deliveryCoilBo.itemType || ''; this.deliveryPagination.currentPage = 1; @@ -455,6 +472,21 @@ export default { this.deliveryCoilBo = {}; this.handleDeliveryFilter(); }, + handleDeliveryCoilStatusChange(val) { + if (val === 'in_stock') { + this.deliveryCoilBo.status = 0; + this.deliveryCoilBo.dataType = 1; + } else if (val === 'shipped') { + this.deliveryCoilBo.status = 1; + this.deliveryCoilBo.dataType = undefined; + } else if (val === 'history') { + this.deliveryCoilBo.status = 0; + this.deliveryCoilBo.dataType = 0; + } else { + this.deliveryCoilBo.status = undefined; + this.deliveryCoilBo.dataType = undefined; + } + }, handleProductPageChange({ currentPage, pageSize }) { this.productPagination.currentPage = currentPage; this.productPagination.pageSize = pageSize; diff --git a/klp-ui/src/views/crm/saleman/index.vue b/klp-ui/src/views/crm/saleman/index.vue index 7b8cc4738..7a63ea733 100644 --- a/klp-ui/src/views/crm/saleman/index.vue +++ b/klp-ui/src/views/crm/saleman/index.vue @@ -93,10 +93,11 @@ - - - - + + + + + @@ -144,6 +145,13 @@ + + + + + + + @@ -470,6 +478,36 @@ export default { this.productCoilBo = {}; this.handleProductFilter(); }, + handleCoilStatusChange(val) { + if (val === 'in_stock') { + this.productCoilBo.status = 0; + this.productCoilBo.dataType = 1; + } else if (val === 'shipped') { + this.productCoilBo.status = 1; + this.productCoilBo.dataType = undefined; + } else if (val === 'history') { + this.productCoilBo.status = 0; + this.productCoilBo.dataType = 0; + } else { + this.productCoilBo.status = undefined; + this.productCoilBo.dataType = undefined; + } + }, + handleDeliveryCoilStatusChange(val) { + if (val === 'in_stock') { + this.deliveryCoilBo.status = 0; + this.deliveryCoilBo.dataType = 1; + } else if (val === 'shipped') { + this.deliveryCoilBo.status = 1; + this.deliveryCoilBo.dataType = undefined; + } else if (val === 'history') { + this.deliveryCoilBo.status = 0; + this.deliveryCoilBo.dataType = 0; + } else { + this.deliveryCoilBo.status = undefined; + this.deliveryCoilBo.dataType = undefined; + } + }, fetchDeliveryCoils(principal) { this.deliveryCoilLoading = true; return listDeliveryCoilsByPrincipal({ diff --git a/klp-ui/src/views/perf/index/SalaryPanel.vue b/klp-ui/src/views/perf/index/SalaryPanel.vue index ca1d6a3f8..473387e31 100644 --- a/klp-ui/src/views/perf/index/SalaryPanel.vue +++ b/klp-ui/src/views/perf/index/SalaryPanel.vue @@ -751,7 +751,7 @@ export default { .cell-input { width: 100%; height: 28px; - border: none; + border: 1px solid #dcdfe6; outline: none; text-align: right; padding: 0 6px; diff --git a/klp-ui/src/views/wms/anneal/performance/report.vue b/klp-ui/src/views/wms/anneal/performance/report.vue index 08c43731f..6f17560ea 100644 --- a/klp-ui/src/views/wms/anneal/performance/report.vue +++ b/klp-ui/src/views/wms/anneal/performance/report.vue @@ -1,75 +1,119 @@ + + diff --git a/klp-ui/src/views/wms/coil/info/components/CostInfoSection.vue b/klp-ui/src/views/wms/coil/info/components/CostInfoSection.vue index 6c20d66c1..c3c263ccc 100644 --- a/klp-ui/src/views/wms/coil/info/components/CostInfoSection.vue +++ b/klp-ui/src/views/wms/coil/info/components/CostInfoSection.vue @@ -53,6 +53,7 @@
+ @@ -704,4 +705,5 @@ export default { font-weight: 600; color: #f56c6c; } + diff --git a/klp-ui/src/views/wms/coil/info/index.vue b/klp-ui/src/views/wms/coil/info/index.vue index e56a40741..615cc0fb5 100644 --- a/klp-ui/src/views/wms/coil/info/index.vue +++ b/klp-ui/src/views/wms/coil/info/index.vue @@ -1,4 +1,4 @@ -