Browse Source

2025/7/14

master
Aoi_Tori 6 months ago
parent
commit
bd4695d068
  1. 47
      src/views/modules/tooling/searchToolApply.vue

47
src/views/modules/tooling/searchToolApply.vue

@ -666,7 +666,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table <el-table
:height="300"
:height="380"
:data="dataList2" :data="dataList2"
@selection-change="selectionData" @selection-change="selectionData"
border border
@ -1633,7 +1633,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 120
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1648,7 +1648,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 200
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1663,7 +1663,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 120
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1678,7 +1678,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 120
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1693,7 +1693,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 120
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1708,7 +1708,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 100
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1723,7 +1723,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 120
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1738,7 +1738,7 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 80
}, },
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
@ -1753,32 +1753,9 @@ export default {
sortLv: 0, sortLv: 0,
status: true, status: true,
fixed: '', fixed: '',
columnWidth: 40
columnWidth: 160
} }
], ],
toolDetailRules:{
agentId:[
{
required: true,
message: ' ',
trigger: 'change'
}
],
agentName:[
{
required: true,
message: ' ',
trigger: 'change'
}
],
active:[
{
required: true,
message: ' ',
trigger: 'change'
}
],
},
approvalList: [], approvalList: [],
rejectOpinion: '', rejectOpinion: '',
submitModalFlag: false, submitModalFlag: false,
@ -2687,8 +2664,6 @@ export default {
toolDetailBatchSave(this.chooseDataList).then(({data})=>{ toolDetailBatchSave(this.chooseDataList).then(({data})=>{
if (data && data.code === 0){ if (data && data.code === 0){
this.$message.success("添加成功") this.$message.success("添加成功")
}else {
this.$message.error(data.msg)
searchProjectToolApplyDetail({ searchProjectToolApplyDetail({
site: this.dataForm.site, site: this.dataForm.site,
applyNo: this.dataForm.applyNo, applyNo: this.dataForm.applyNo,
@ -2697,6 +2672,8 @@ export default {
this.toolData = data.rows this.toolData = data.rows
} }
}) })
}else {
this.$message.error(data.msg)
} }
}).catch((error)=>{ }).catch((error)=>{
this.$message.error(error) this.$message.error(error)

Loading…
Cancel
Save