计划管理问题修改

Co-authored-by: Copilot <copilot@github.com>
dev-scheduling
zhangdi 1 month ago
parent a3e5b10a0d
commit 29028620d8
  1. 13
      src/views/basicData/components/inventory.vue
  2. 20
      src/views/inboundOutboundManagement/otherIssuing/index.vue
  3. 15
      src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue
  4. 6
      src/views/orderManagement/components/mold/addMoldDailog.vue
  5. 8
      src/views/orderManagement/components/mold/detailsInfoDialog.vue
  6. 46
      src/views/orderManagement/components/mold/moldRequire.vue
  7. 1
      src/views/warehouseManagement/materialExpiration/matureSubmission.vue
  8. 2
      src/views/warehouseManagement/teamRequest/index.vue

@ -145,6 +145,7 @@ export default {
span: 12, span: 12,
overflow: true, overflow: true,
search: true, search: true,
type: 'select',
}, },
{ {
label: '物料名称', label: '物料名称',
@ -257,18 +258,20 @@ export default {
} }
}, },
onLoad() { onLoad() {
this.loading = true this.loading = true;
getLocationList({ getLocationList({
current: this.page.currentPage, current: this.page.currentPage,
size: this.page.pageSize, size: this.page.pageSize,
...this.query, ...this.query,
}).then(res => { })
this.loading = false .then(res => {
this.loading = false;
this.data = res.data.data.records; this.data = res.data.data.records;
this.page.total = res.data.data.total; this.page.total = res.data.data.total;
}).catch(err => {
this.loading = false
}) })
.catch(err => {
this.loading = false;
});
}, },
}, },
}; };

@ -323,16 +323,16 @@ export default {
// }, // },
], ],
}, },
{ // {
label: '审批意见', // label: '',
prop: 'approvalOpinion', // prop: 'approvalOpinion',
search: false, // search: false,
sortable: true, // sortable: true,
filter: true, // filter: true,
span: 12, // span: 12,
display: false, // display: false,
width: 180, // width: 180,
}, // },
{ {
label: '审批人', label: '审批人',
prop: 'approverName', prop: 'approverName',

@ -204,7 +204,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="到期日期" prop="scrapCycle" align="center"> <el-table-column label="到期日期" prop="scrapCycle" align="center">
<template #header> <template #default="scope">{{ scope.row.scrapCycle }}</template>
<!-- <template #header>
<span><i style="color: red">*</i>到期日期</span> <span><i style="color: red">*</i>到期日期</span>
</template> </template>
<template #default="scope"> <template #default="scope">
@ -217,10 +218,11 @@
placeholder="选择日期" placeholder="选择日期"
style="width: 100%" style="width: 100%"
/> />
</template> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="入库日期" prop="inOutDate" align="center"> <el-table-column label="入库日期" prop="inDate" align="center">
<template #header> <template #default="scope">{{ scope.row.inDate }}</template>
<!-- <template #header>
<span><i style="color: red">*</i>入库日期</span> <span><i style="color: red">*</i>入库日期</span>
</template> </template>
<template #default="scope"> <template #default="scope">
@ -233,7 +235,7 @@
placeholder="选择日期" placeholder="选择日期"
style="width: 100%" style="width: 100%"
/> />
</template> </template> -->
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form> </el-form>
@ -428,6 +430,7 @@ export default {
this.outbankList[index].slId = ''; this.outbankList[index].slId = '';
this.outbankList[index].piNo = ''; this.outbankList[index].piNo = '';
this.outbankList[index].quantity = ''; this.outbankList[index].quantity = '';
} }
getLocationData({ getLocationData({
shId: this.stOtherOutRecord.shId, shId: this.stOtherOutRecord.shId,
@ -454,7 +457,7 @@ export default {
this.outbankList[index].stovePiNo = tmp.stovePiNo; this.outbankList[index].stovePiNo = tmp.stovePiNo;
this.outbankList[index].quantity = tmp.quantity; this.outbankList[index].quantity = tmp.quantity;
this.outbankList[index].scrapCycle = tmp.scrapCycle; this.outbankList[index].scrapCycle = tmp.scrapCycle;
this.outbankList[index].inOutDate = tmp.inOutDate; this.outbankList[index].inDate = tmp.inDate;
this.outbankList[index].id = tmp.id; this.outbankList[index].id = tmp.id;
} }
}, },

@ -19,7 +19,7 @@
<el-table :data="form.moldPlan" @select="selectChange" style="width: 100%" border> <el-table :data="form.moldPlan" @select="selectChange" style="width: 100%" border>
<el-table-column type="selection" width="55" v-if="moldAddMore"></el-table-column> <el-table-column type="selection" width="55" v-if="moldAddMore"></el-table-column>
<el-table-column type="index" width="80" label="序号" align="center"></el-table-column> <!-- <el-table-column type="index" width="80" label="序号" align="center"></el-table-column> -->
<el-table-column prop="partCode" label="零件编码" align="center" width="190"> <el-table-column prop="partCode" label="零件编码" align="center" width="190">
<template #header> <template #header>
<span><i style="color: red">*</i>零件编码</span> <span><i style="color: red">*</i>零件编码</span>
@ -64,7 +64,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="partName" label="零件名称" align="center"> <el-table-column prop="partName" label="零件名称" align="center" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<span>{{ scope.row.partName }}</span> <span>{{ scope.row.partName }}</span>
</template> </template>
@ -383,7 +383,7 @@ export default {
console.log(val, i,value,item,9090909090) console.log(val, i,value,item,9090909090)
this.form.moldPlan[i].partName =item.partName this.form.moldPlan[i].partName =item.partName
// this.partCodeList.find(item => item.partCode === val)?.partName || ''; // this.partCodeList.find(item => item.partCode === val)?.partName || '';
getToolList({partCode:val}).then(res =>{ getToolList({partCode:item.partCode}).then(res =>{
console.log('res-----------',res) console.log('res-----------',res)
this.form.moldPlan[i].modeArray = res.data.data this.form.moldPlan[i].modeArray = res.data.data
}) })

@ -9,10 +9,10 @@
> >
<el-descriptions class="margin-top" :column="4" border title="需求信息"> <el-descriptions class="margin-top" :column="4" border title="需求信息">
<el-descriptions-item label="需求编号">{{form.mdCode}}</el-descriptions-item> <el-descriptions-item label="需求编号">{{form.mdCode}}</el-descriptions-item>
<el-descriptions-item label="工装编号">{{ form.moCode || "-" }}</el-descriptions-item> <el-descriptions-item label="工装编号">{{ form.toolCode || "-" }}</el-descriptions-item>
<el-descriptions-item label="工装名称">{{ form.moName || "-" }}</el-descriptions-item> <el-descriptions-item label="工装名称">{{ form.toolName || "-" }}</el-descriptions-item>
<el-descriptions-item label="关联订单数">{{form.linkOrderIds || "-"}}</el-descriptions-item> <el-descriptions-item label="关联订单数">{{form.linkOrderNum || "-"}}</el-descriptions-item>
<el-descriptions-item label="工装需求量">{{ form.quantity || "-" }}</el-descriptions-item> <el-descriptions-item label="工装需求量">{{ form.demandNum || "-" }}</el-descriptions-item>
<el-descriptions-item label="库存数量">{{ form.stockNum || "-" }}</el-descriptions-item> <el-descriptions-item label="库存数量">{{ form.stockNum || "-" }}</el-descriptions-item>
<el-descriptions-item label="占用数量">{{ form.occupyNum || "-" }}</el-descriptions-item> <el-descriptions-item label="占用数量">{{ form.occupyNum || "-" }}</el-descriptions-item>
</el-descriptions> </el-descriptions>

@ -221,7 +221,7 @@ export default {
// }, // },
{ {
label: '订单需求量', label: '订单需求量',
prop: 'quantity', prop: 'demandNum',
search: false, search: false,
sortable: true, sortable: true,
width:120, width:120,
@ -249,28 +249,28 @@ export default {
// }, // },
{ {
label: '关联订单个数', label: '关联订单个数',
prop: 'linkOrderIds', prop: 'linkOrderNum',
search: false, search: false,
sortable: true, sortable: true,
span: 12, span: 12,
headerAlign: 'center', headerAlign: 'center',
align: 'center', align: 'center',
}, },
{ // {
// STATUS_WAITING("", 10000), // // STATUS_WAITING("", 10000),
// STATUS_OUT_STORE("", 10001), // // STATUS_OUT_STORE("", 10001),
// STATUS_DONE("", 10002), // // STATUS_DONE("", 10002),
// STATUS_CLOSE("", 10003), // // STATUS_CLOSE("", 10003),
label:'状态', // label:'',
// type:"select", // // type:"select",
prop:"statusName", // prop:"statusName",
// dicData:[ // // dicData:[
// {label:'',value:10000}, // // {label:'',value:10000},
// {label:'',value:10001}, // // {label:'',value:10001},
// {label:'',value:10002}, // // {label:'',value:10002},
// {label:'',value:10003} // // {label:'',value:10003}
// ] // // ]
} // }
], ],
}, },
@ -290,11 +290,11 @@ export default {
this.$message.error('请至少选择一条数据!'); this.$message.error('请至少选择一条数据!');
return; return;
} }
let tmp = this.selectionList.map(item => item.statusName != '待出库'); // let tmp = this.selectionList.map(item => item.statusName != '');
if(tmp){ // if(tmp){
this.$message.error("请选择状态为【待出库】的数据") // this.$message.error("")
return // return
} // }
this.$confirm('确定将选择数据批量关闭?', { this.$confirm('确定将选择数据批量关闭?', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -302,7 +302,7 @@ export default {
}) })
.then(() => { .then(() => {
const ids = this.selectionList.map(item => item.id).join(','); const ids = this.selectionList.map(item => item.id).join(',');
closeBatchs({ ids }).then(res => { closeBatchs(ids).then(res => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.$message({ this.$message({
type: 'success', type: 'success',

@ -307,6 +307,7 @@ export default {
item.esDept = '' // item.esDept = '' //
item.esQty = '' // item.esQty = '' //
item.esDeptId='' //id item.esDeptId='' //id
item.rlsId = item.id
}); });
this.rowData = this.selectionList this.rowData = this.selectionList
this.inspectionShow = true this.inspectionShow = true

@ -218,7 +218,7 @@ export default {
}, },
{ {
label: '关联订单号', label: '关联订单号',
prop: 'memo', prop: 'woCode',
search: false, search: false,
sortable: true, sortable: true,
filter: true, filter: true,

Loading…
Cancel
Save