This commit is contained in:
bb_pan 2025-08-20 19:52:41 +08:00
parent 8801db44ae
commit 5fed0be5b2
2 changed files with 9 additions and 0 deletions

View File

@ -985,6 +985,12 @@ export default {
// ****************
//
async saveCodeDialog() {
if (this.repairDeviceList.length > 0) {
this.repairDeviceList.forEach((item) => {
item.inRepairList = []
item.outRepairList = []
})
}
this.repairRowData.repairDeviceList = this.repairDeviceList;
await saveCodeList(this.repairRowData.repairDeviceList).then((response) => {
if (response.code == 200) {
@ -1574,6 +1580,8 @@ export default {
console.log('this.formRight',this.formRight)
this.innerRowData.repairDeviceList[0].numberScrapRepairPartList.push(this.formRight)
this.innerRowData.repairDeviceList[0].repairType = 1;
this.innerRowData.repairDeviceList[0].inRepairList = []
this.innerRowData.repairDeviceList[0].outRepairList = []
saveCodeList(this.innerRowData.repairDeviceList).then(async (response) => {
if (response.code == 200) {
this.$modal.msgSuccess("保存成功");

View File

@ -129,6 +129,7 @@ export default {
//
tableColumns: [
{ label: '下次检修时间', prop: 'nextCheckTime', width: '100' },
{ label: '物资类型', prop: 'materialType', showTooltip: true },
{ label: '机具类型', prop: 'typeName', showTooltip: true },
{ label: '规格型号', prop: 'typeModelName', showTooltip: true },
{ label: '设备编码', prop: 'maCode', showTooltip: true },