优化字段

This commit is contained in:
BianLzhaoMin 2024-07-15 10:36:04 +08:00
parent d7f1e5bbcd
commit 12905d8afd
2 changed files with 1 additions and 6 deletions

View File

@ -857,10 +857,8 @@ export default {
// 1退 2 // 1退 2
const { taskId } = this.sendParams const { taskId } = this.sendParams
const { data: res } = await getScrapReturnOverQueryApi({ taskId }) const { data: res } = await getScrapReturnOverQueryApi({ taskId })
console.log(res, '查询结果=======')
if (res == 0) { if (res == 0) {
console.log('存在未退料数据')
this.$message.error( this.$message.error(
'当前存在未退料机具,请处理之后再点击完成退料!', '当前存在未退料机具,请处理之后再点击完成退料!',
) )
@ -871,17 +869,14 @@ export default {
this.dialogConfigReturn.outerTitle = '选择审批部门' this.dialogConfigReturn.outerTitle = '选择审批部门'
this.dialogConfigReturn.outerWidth = '50%' this.dialogConfigReturn.outerWidth = '50%'
this.dialogConfigReturn.outerVisible = true this.dialogConfigReturn.outerVisible = true
console.log('存在报废数据')
} }
if (res == 2) { if (res == 2) {
console.log('不存在报废数据')
let endBackParams = { let endBackParams = {
createBy: sessionStorage.getItem('userId'), createBy: sessionStorage.getItem('userId'),
taskId: this.sendTbParams.taskId, taskId: this.sendTbParams.taskId,
} }
const res = await getScrapReturnCompleteApi(endBackParams) const res = await getScrapReturnCompleteApi(endBackParams)
console.log(res, '退料结果')
} }
}, },

View File

@ -43,7 +43,7 @@ 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://192.168.2.122:28080`, //超 target: `http://192.168.2.167:28080`, //超
// target: `http://10.40.92.81:28080`, //韩/ // target: `http://10.40.92.81:28080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/ // target: `http://10.40.92.74:8080`,//旭/
// target: `http://192.168.2.248:28080`, //帅 // target: `http://192.168.2.248:28080`, //帅