Merge branch 'material-ui' of http://192.168.30.2:3000/bonus/bonus-ui into material-ui

This commit is contained in:
hongchao 2025-08-05 18:19:01 +08:00
commit 1e9f623cfa
4 changed files with 16 additions and 7 deletions

View File

@ -717,6 +717,8 @@ export default {
//
async GetDeviceTypeTreeFn(agreementId) {
const params = {
unitId: this.queryParams.unitId,
proId: this.queryParams.proId,
agreementId: agreementId
}
const res = await getDeviceTreeByAgreementId(params)
@ -950,7 +952,9 @@ export default {
backPerson: this.queryParams.backPerson,
phone: this.queryParams.phone,
remark: this.queryParams.remark,
agreementId: this.queryParams.agreementId
unitId: this.queryParams.unitId,
proId: this.queryParams.proId,
agreementId: this.queryParams.agreementId,
// backTime: this.queryParams.backTime,
// createBy: this.queryParams.createBy,
// companyId: this.queryParams.companyId,

View File

@ -323,12 +323,12 @@ export default {
onDictReady(dict) {
// back_task_status
const validOptions = dict.type.back_task_status || []
//
if (validOptions.length > 0) {
this.queryParams.status = validOptions[0].value
}
//
this.getList()
},
@ -457,10 +457,13 @@ export default {
// },
handleSubmit(row){
console.log(row)
this.$modal.confirm('是否确认提交所选择的退料任务?') .then(() => {
let param = {
id:row.id,
taskId:row.taskId
taskId:row.taskId,
proId:row.proId,
unitId:row.unitId,
}
submitBackApply(param).then((res) => {
this.getList()

View File

@ -587,6 +587,7 @@ export default {
async GetDeviceTypeTreeFn(agreementId) {
const params = {
agreementId: agreementId,
unitId: this.queryParams.unitId,
}
const res = await getDeviceTreeByAgreementId(params)
console.log('resgetUseTypeTreee==========', res)

View File

@ -137,7 +137,7 @@
<el-table v-loading="loading" :data="equipmentList" @selection-change="handleSelectionChange">
<el-table-column type="selection" min-width="55" align="center" :selectable="selectable" />
<el-table-column label="序号" type="index" align="center" min-width="80" />
<el-table-column label="类型名称" align="center" prop="materialName" :show-overflow-tooltip="true" />
<el-table-column label="类型名称" align="center" prop="maTypeName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="typeName" :show-overflow-tooltip="true" />
<el-table-column label="计量单位" align="center" prop="unitName" />
<el-table-column label="当前在用量" align="center" prop="num"></el-table-column>
@ -206,13 +206,13 @@
<el-table-column label="序号" type="index" width="55" align="center" />
<el-table-column
label="类型名称"
prop="typeName"
prop="materialName"
align="center"
:show-overflow-tooltip="true"
></el-table-column>
<el-table-column
label="规格型号"
prop="materialName"
prop="typeName"
align="center"
:show-overflow-tooltip="true"
></el-table-column>
@ -566,6 +566,7 @@ export default {
type: 'success'
})
}
console.log('🚀 ~ handleTypeChange ~ this.equipmentList:', this.equipmentList)
}
//