diff --git a/src/api/qualityManagement/productionTesting/productionQuality.js b/src/api/qualityManagement/productionTesting/productionQuality.js index 87c98645..45dad55a 100644 --- a/src/api/qualityManagement/productionTesting/productionQuality.js +++ b/src/api/qualityManagement/productionTesting/productionQuality.js @@ -142,4 +142,13 @@ export const getParamRemind = (data) =>{ method:'post', data }) +} + +// 获取零件子件 +export const getPartChild = (params) =>{ + return request({ + url:'/api/blade-desk/dsPart/detail', + method:'get', + params + }) } \ No newline at end of file diff --git a/src/views/costStatistics/index.vue b/src/views/costStatistics/index.vue index 8e5a2143..d8960fba 100644 --- a/src/views/costStatistics/index.vue +++ b/src/views/costStatistics/index.vue @@ -117,7 +117,7 @@ export default { tip: false, simplePage: true, searchShow: true, - searchMenuSpan: 18, + searchMenuSpan: 12, searchIcon: true, searchIndex: 3, tree: false, @@ -178,6 +178,18 @@ export default { overHidden: true, width:80, }, + { + label:"交付中心", + prop:"jcId", + type:'select', + dicUrl:"/api/blade-system/dict/dictionary?code=workCenterJfCenter", + props:{ + label:"dictValue", + value:"dictKey" + }, + search: true, + width:110 + }, { label: '制造费用(元)', prop: 'productCost', @@ -214,6 +226,15 @@ export default { sortable: 'custom', overHidden: true, }, + { + label:'erp作业中心材料费用(元)', + prop:'erpWorkCenterMaterialCost', + search:false, + width: 180, + sortable: false, + sortable: 'custom', + overHidden: true, + }, { label: '单位成本(元)', prop: 'unitCost', @@ -586,7 +607,11 @@ export default { size:this.page.pageSize, ...this.query }).then(res =>{ + res.data.data.records.map(item =>{ + item.jcId = item.jcId != -1 ? item.jcId + '' : '' + }) this.data = res.data.data.records + console.log('data---------',this.data) this.page.total = res.data.data.total this.loading = false @@ -599,6 +624,7 @@ export default { workCenterId:this.data[0].workCenterId }).then(res =>{ console.log('res---------',res) + this.detailData = res.data.data this.$refs.crud.setCurrentRow(this.data[0]); // this.handleCurrentRowChange(this.data[0]); diff --git a/src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue b/src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue index 024adb26..e827c9ef 100644 --- a/src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue +++ b/src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue @@ -566,7 +566,9 @@ export default { price: this.form && this.form.price, postPlatingStorageTimeStart:this.query && this.query.putStoreTime && this.query.putStoreTime.length != 0 && this.query.putStoreTime[0], postPlatingStorageTimeEnd:this.query && this.query.putStoreTime && this.query.putStoreTime.length != 0 && this.query.putStoreTime[1], - memo:this.query && this.query.memo && this.query.memo.length != 0 && this.query.memo.join(';'), + memo:this.query && this.query.memo && typeof(this.query.memo) == 'object' && this.query.memo.length != 0 ? + this.query.memo.join(';') : this.query.memo && this.query.memo.indexOf(',') != -1 ? this.query.memo.split(',').join(';') : this.query.memo, + // memo:this.query && this.query.memo && this.query.memo.length != 0 && this.query.memo.join(';'), }; if(params.putStoreTime) delete params.putStoreTime; diff --git a/src/views/productionTesting/productionQuality.vue b/src/views/productionTesting/productionQuality.vue index 9dd9b510..98eb0df9 100644 --- a/src/views/productionTesting/productionQuality.vue +++ b/src/views/productionTesting/productionQuality.vue @@ -144,6 +144,7 @@ :expand-row-keys="expandedRowKeys" @expand-change="handleExpandChange" :default-expand-all="false" + :cell-class-name="tableClassName" > @@ -179,6 +180,9 @@ +