Browse Source

装配收货任务提交校验,关闭提交报错 2024/8/7

pull/1/head
test 3 months ago
parent
commit
87440a1b8c
  1. 4
      src/components/show-modal/show-modal.vue
  2. 4
      src/mycomponents/common/comMessage.vue
  3. 2
      src/pages/productReceipt/job/ccProductReceiptDetail.vue

4
src/components/show-modal/show-modal.vue

@ -78,7 +78,9 @@ export default {
cancelClose() {
clearInterval(this.timer) // timer
this.$refs.modal.popupClose()
if(this.$refs.modal){
this.$refs.modal.popupClose();
}
this.success({
// cancel: true,
confirm: false

4
src/mycomponents/common/comMessage.vue

@ -57,6 +57,7 @@ const isDisabled = ref(true) // 为 true 时,表示用户可以点击,反之
const seconds = ref(0)
const success = ref(() => {})
const version = ref('')
const modal = ref(null)
// onMounted(() => {
// const systemInfo = uni.getSystemInfoSync()
// // #ifdef H5
@ -95,6 +96,9 @@ const confirmClose = () => {
if (show.value) {
show.value = false
clearInterval(timer.value) // timer
if(modal.value){
modal.value.popupClose()
}
success.value({
// cancel: false,
confirm: true

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

@ -296,6 +296,8 @@
if(valiDate){
if (!this.checkLocation()) {
return
}else{
this.toLocationCode = this.jobToLocationCode
}
}

Loading…
Cancel
Save