Browse Source

提示bug

lijuncheng0816
zhang_li 1 month ago
parent
commit
2adcb664b0
  1. 32
      src/mycomponents/common/comMessage.vue
  2. 2
      src/pages/customerReturn/job/returnDetail.vue
  3. 2
      src/pages/inventoryMove/job/inventoryMoveDetail.vue
  4. 2
      src/pages/productReceipt/job/scrapReceiptDetail.vue
  5. 2
      src/pages/productRecycle/job/productRecycleJobDetail.vue
  6. 2
      src/pages/purchaseReturn/job/returnDetail.vue
  7. 2
      src/pages/scrap/job/scrapJobDetail.vue
  8. 2
      src/pages/unPlanned/job/issueJobDetail.vue

32
src/mycomponents/common/comMessage.vue

@ -153,11 +153,14 @@
},
// (+
showQuestionMessage(mContent,textColor, callback) {
// this.textColor = textColor?textColor:'#000'
this.showSelectModal("疑问", mContent, callback,textColor);
showQuestionMessage(mContent, callback) {
this.showSelectModal("疑问", mContent, callback);
},
// (+
showQuestionMessage1(mContent,textColor, callback) {
console.log(textColor)
this.showSelectModal1("疑问", mContent, callback,textColor);
},
// (+)
showWarningMessage(mContent, callback) {
this.showConfirmCountdownModal("警告", mContent, callback);
@ -249,7 +252,26 @@
},
// (+
showSelectModal(mIconType, mContent, callback,textColor) {
showSelectModal(mIconType, mContent, callback) {
this.showModal({
iconType: mIconType,
content: mContent,
success: function(res) {
if (callback != undefined) {
if (res.confirm == true) {
callback(true);
console.log('用户点击确定')
} else {
callback(false);
console.log('用户点击取消')
}
}
}
});
},
// (+
showSelectModal1(mIconType, mContent, callback,textColor) {
this.showModal({
iconType: mIconType,
content: mContent,

2
src/pages/customerReturn/job/returnDetail.vue

@ -350,7 +350,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -365,7 +365,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/productReceipt/job/scrapReceiptDetail.vue

@ -306,7 +306,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -329,7 +329,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/purchaseReturn/job/returnDetail.vue

@ -361,7 +361,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/scrap/job/scrapJobDetail.vue

@ -297,7 +297,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

2
src/pages/unPlanned/job/issueJobDetail.vue

@ -291,7 +291,7 @@
})
if (str) {
str += ',是否确认提交?'
this.$refs.comMessage.showQuestionMessage(str, 'red', res => {
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) {
this.submitJob()
}

Loading…
Cancel
Save