优化领料申请页面字段回显展示问题

This commit is contained in:
BianLzhaoMin 2024-06-19 16:47:38 +08:00
parent a874c9a4a5
commit 624edef0ec
3 changed files with 12 additions and 7 deletions

View File

@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false }) NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register', '/auth/sendCode', '/qrCode/qrCodePage', '/demo'] const whiteList = ['/login', '/register', '/auth/sendCode', '/qrCode/qrCodePage']
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
NProgress.start() NProgress.start()

View File

@ -198,7 +198,7 @@
<el-table-column <el-table-column
label="领料申请人" label="领料申请人"
align="center" align="center"
prop="applyFor" prop="nickName"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
@ -445,7 +445,7 @@ export default {
id: this.queryParams.proId, id: this.queryParams.proId,
} }
const res = await getUnitData(params) const res = await getUnitData(params)
res.data = res.data.filter(item => item != null) res.data = res.data.filter((item) => item != null)
this.unitList = res.data this.unitList = res.data
}, },
// //
@ -454,7 +454,7 @@ export default {
id: this.queryParams.unitId, id: this.queryParams.unitId,
} }
const res = await getProData(params) const res = await getProData(params)
res.data = res.data.filter(item => item != null) res.data = res.data.filter((item) => item != null)
this.proList = res.data this.proList = res.data
}, },
@ -547,7 +547,12 @@ export default {
// isBack: true, // isBack: true,
// }, // },
// }) // })
this.$emit('editPicking', row.taskId, this.queryParams, row.taskStatus) this.$emit(
'editPicking',
row.taskId,
this.queryParams,
row.taskStatus,
)
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
async handleDelete(row) { async handleDelete(row) {

View File

@ -46,8 +46,8 @@ module.exports = {
// target: `http://10.40.92.60:28080`, //超 // target: `http://10.40.92.60:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/ // target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/ // target: `http://10.40.92.74:8080`,//旭/
target: `http://10.40.92.140:28080`, //帅 // target: `http://10.40.92.140:28080`, //帅
// target: `http://10.40.92.253:28080`, //福 target: `http://10.40.92.253:28080`, //福
//******** 注意事项 ********* */ //******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target; //1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;