Compare commits

..

No commits in common. '5fa862855cb53427184ec3704318919f9164b635' and 'fbc06fe9260dbef98605b275732b383dab0af6fe' have entirely different histories.

  1. 8
      src/views/logisticsManagement/components/detailsLogisticsDialog.vue
  2. 8
      src/views/logisticsManagement/logisticsDistribution.vue
  3. 16
      src/views/productionManagement/reworkOrder/index.vue
  4. 33
      src/views/productionManagement/reworkPlan/index.vue

@ -1,7 +1,7 @@
<template> <template>
<el-dialog title="详情" append-to-body :modelValue="openShow" width="70%" @close="closeDialog" :loading="detailsLoading"> <el-dialog title="详情" append-to-body :modelValue="openShow" width="70%" @close="closeDialog" :loading="detailsLoading">
<el-descriptions title="物料记录"></el-descriptions> <el-descriptions title="物料记录"></el-descriptions>
<el-table :data="yieldOrderList" style="width: 100%"> <el-table :data="yieldOrderList|| []" style="width: 100%">
<el-table-column type="index" width="50" label="序号"> </el-table-column> <el-table-column type="index" width="50" label="序号"> </el-table-column>
<el-table-column prop="cardNo" label="流程卡号" show-overflow-tooltip> </el-table-column> <el-table-column prop="cardNo" label="流程卡号" show-overflow-tooltip> </el-table-column>
<el-table-column prop="yoCode" label="生产单号" show-overflow-tooltip> </el-table-column> <el-table-column prop="yoCode" label="生产单号" show-overflow-tooltip> </el-table-column>
@ -12,7 +12,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-descriptions title="执行记录" style="margin-top: 10px;"></el-descriptions> <el-descriptions title="执行记录" style="margin-top: 10px;"></el-descriptions>
<el-table :data="taskExecuteRecordList" style="width: 100%"> <el-table :data="detailsInfo.taskExecuteRecordList|| []" style="width: 100%">
<el-table-column type="index" width="50" label="序号"> </el-table-column> <el-table-column type="index" width="50" label="序号"> </el-table-column>
<el-table-column prop="startPos" label="开始位置" show-overflow-tooltip> </el-table-column> <el-table-column prop="startPos" label="开始位置" show-overflow-tooltip> </el-table-column>
<el-table-column prop="endPos" label="结束位置" show-overflow-tooltip> </el-table-column> <el-table-column prop="endPos" label="结束位置" show-overflow-tooltip> </el-table-column>
@ -45,7 +45,6 @@ export default {
openShow: false, openShow: false,
detailsInfo: {}, detailsInfo: {},
yieldOrderList:[], yieldOrderList:[],
taskExecuteRecordList:[],
detailsLoading:true detailsLoading:true
}; };
}, },
@ -59,8 +58,7 @@ export default {
await taskDetails({ boxBarcode: this.rowItem.boxBarcode, taskId: this.rowItem.id }).then( await taskDetails({ boxBarcode: this.rowItem.boxBarcode, taskId: this.rowItem.id }).then(
res => { res => {
this.detailsLoading = false this.detailsLoading = false
this.yieldOrderList = res.data.data.boxbarcodeDetailsVO!=null?res.data.data.boxbarcodeDetailsVO.yieldOrderList:[] this.yieldOrderList = res.data.data.boxbarcodeDetailsVO.yieldOrderList;
this.taskExecuteRecordList = res.data.data.taskExecuteRecordList!=null?res.data.data.taskExecuteRecordList:[]
this.detailsInfo = res.data.data; this.detailsInfo = res.data.data;
} }
).catch(err => { ).catch(err => {

@ -144,9 +144,8 @@ export default {
sortable: true, sortable: true,
span: 12, span: 12,
width: 160, width: 160,
searchOrder: 18,
hide: true, hide: true,
searchOrder: 20,
}, },
{ {
label: '起点-作业中心', label: '起点-作业中心',
@ -223,7 +222,6 @@ export default {
span: 12, span: 12,
width: 120, width: 120,
searchOrder: 14, searchOrder: 14,
// searchOrder: 19,
}, },
{ {
@ -233,7 +231,7 @@ export default {
sortable: true, sortable: true,
span: 12, span: 12,
width: 120, width: 120,
searchOrder: 18, searchOrder: 20,
}, },
// { // {
// label: '', // label: '',
@ -325,7 +323,7 @@ export default {
endPlaceholder: '结束日期', endPlaceholder: '结束日期',
rangeSeparator: '-', rangeSeparator: '-',
searchRange: true, searchRange: true,
searchOrder: 13, searchOrder: 19,
}, },
], ],
}, },

@ -28,9 +28,9 @@
<el-button type="text" @click="finishData(row)" v-if="row.seqno === 1">完成</el-button> <el-button type="text" @click="finishData(row)" v-if="row.seqno === 1">完成</el-button>
</template> </template>
<template #redono="scope"> <template #redono="scope">
<span class="partSel" @dblclick="detailsFn(scope.row)"> <el-button type="text" @dblclick="detailsFn(scope.row)">
{{ scope.row.redono }} {{ scope.row.redono }}
</span> </el-button>
</template> </template>
</avue-crud> </avue-crud>
<!-- 改数接收 --> <!-- 改数接收 -->
@ -332,11 +332,11 @@ export default {
}, },
currentChange(currentPage) { currentChange(currentPage) {
this.page.currentPage = currentPage; this.page.currentPage = currentPage;
this.onLoad(this.page, this.query); // this.onLoad(this.page, this.query);
}, },
sizeChange(pageSize) { sizeChange(pageSize) {
this.page.pageSize = pageSize; this.page.pageSize = pageSize;
this.onLoad(this.page, this.query); // this.onLoad(this.page, this.query);
}, },
refreshChange() { refreshChange() {
this.onLoad(this.page, this.query); this.onLoad(this.page, this.query);
@ -365,10 +365,4 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
.partSel{
cursor: pointer;
color:#284c89 !important;
font-weight: 600;
}
</style>

@ -24,19 +24,14 @@
</el-button> </el-button>
</template> --> </template> -->
<template #redono="scope"> <template #redono="scope">
<span class="partSel" @dblclick="detailsFn(scope.row)"> <el-button type="text" @dblclick="detailsFn(scope.row)">
{{ scope.row.redono }} {{ scope.row.redono }}
</span> </el-button>
</template> </template>
</avue-crud> </avue-crud>
<!-- 返工订单详情 --> <!-- 返工订单详情 -->
<reworkDetails <reworkDetails v-if="detailsShow" :showDialog="detailsShow" @closeDialog="closeDialog" :rowItem="rowItem"></reworkDetails>
v-if="detailsShow"
:showDialog="detailsShow"
@closeDialog="closeDialog"
:rowItem="rowItem"
></reworkDetails>
</basic-container> </basic-container>
</template> </template>
@ -187,12 +182,12 @@ export default {
methods: { methods: {
// //
detailsFn(row){ detailsFn(row){
this.detailsShow = true; this.detailsShow = true
this.rowItem = row; this.rowItem = row
}, },
closeDialog(){ closeDialog(){
this.detailsShow = false; this.detailsShow = false
this.onLoad(this.page, this.query); this.onLoad(this.page,this.query)
}, },
rowSave(row, done, loading) { rowSave(row, done, loading) {
// addPersonAbility(row).then( // addPersonAbility(row).then(
@ -283,14 +278,12 @@ export default {
onLoad(page, params = {}) { onLoad(page, params = {}) {
this.loading = true; this.loading = true;
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)) getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
.then(res => {
this.data = res.data.data.records; this.data = res.data.data.records;
this.loading = false; this.loading = false;
this.page.total = res.data.data.total; this.page.total = res.data.data.total;
// this.selectionClear(); // this.selectionClear();
}) }).catch(() => {
.catch(() => {
this.loading = false; this.loading = false;
}); });
}, },
@ -298,10 +291,4 @@ export default {
mounted() {}, mounted() {},
}; };
</script> </script>
<style lang="scss" scoped> d
.partSel {
cursor: pointer;
color: #284c89 !important;
font-weight: 600;
}
</style>
Loading…
Cancel
Save