新购页面机具编码异常问题修改

This commit is contained in:
BianLzhaoMin 2024-06-13 17:17:07 +08:00
parent 82e59ac310
commit 9c054a3f0e
3 changed files with 14 additions and 6 deletions

View File

@ -466,9 +466,13 @@ export default {
this.multiple = !selection.length this.multiple = !selection.length
}, //getCodeList newCodeList }, //getCodeList newCodeList
/** 编码按钮操作 */ handleCode(row) { /** 编码按钮操作 */ handleCode(row) {
console.log(row) console.log(row, '编码管理---')
this.reset() this.reset()
this.form = row this.form = row
if (!this.form.fixCode) {
this.form.fixCode = '1'
}
this.$set(this.form, 'str', '') this.$set(this.form, 'str', '')
this.$set(this.form, 'str1', '') this.$set(this.form, 'str1', '')
// this.$set(this.form,'fixCode','1') // this.$set(this.form,'fixCode','1')
@ -484,7 +488,7 @@ export default {
this.$set( this.$set(
this.form, this.form,
'exCode', 'exCode',
'NSJJ' + 'CSJJ' +
this.form.typeCode + this.form.typeCode +
this.form.specsCode + this.form.specsCode +
arr[0][2] + arr[0][2] +
@ -659,7 +663,11 @@ export default {
this.isDetail = true this.isDetail = true
this.title = '编码绑定详情' this.title = '编码绑定详情'
this.codeList = [] this.codeList = []
const res = await getBindCodeDetails({ taskId: row.taskId }) // const res = await getBindCodeDetails({ taskId: row.taskId })
const res = await getBindCodeDetails({
typeId: row.typeId,
taskId: row.taskId,
})
console.log('🚀 ~ handleBindDetails ~ res:', res) console.log('🚀 ~ handleBindDetails ~ res:', res)
this.codeList = res.data this.codeList = res.data
}, },

View File

@ -180,7 +180,7 @@
v-if=" v-if="
scope.row.purchasingStatus != '已入库' && scope.row.purchasingStatus != '已入库' &&
scope.row.purchasingStatus != '已审核' && scope.row.purchasingStatus != '已审核' &&
scope.row.purchasingStatus != '验收合格' && scope.row.purchasingStatus != '验收合格' &&
scope.row.purchasingStatus != '待审核' && scope.row.purchasingStatus != '待审核' &&
scope.row.purchasingStatus != '验收不通过' && scope.row.purchasingStatus != '验收不通过' &&
scope.row.purchasingStatus != '驳回' scope.row.purchasingStatus != '驳回'

View File

@ -42,10 +42,10 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网 // target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`, // target: `https://z.csgmall.com.cn`,
target: `http://10.40.92.52:28080`, //超 // target: `http://10.40.92.52: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.148:28080`, //帅 target: `http://10.40.92.138:28080`, //帅
// target: `http://10.40.92.253:28080`, //福 // target: `http://10.40.92.253:28080`, //福
//******** 注意事项 ********* */ //******** 注意事项 ********* */