Browse Source

修改bug

chenrui 8 tháng trước cách đây
mục cha
commit
8ede268696
1 tập tin đã thay đổi với 0 bổ sung19 xóa
  1. 0 19
      src/views/salesManagement/salesQueryNew/edit.vue

+ 0 - 19
src/views/salesManagement/salesQueryNew/edit.vue

@@ -873,26 +873,7 @@ export default {
       this.spinning = true
       const submitTypes = this.tbForm.join(',')
       salesWriteSubmit({ id: this.orderId, submitTypes: submitTypes, ...params }).then(res => {
-        console.log(res)
         if (res.status == 200) {
-          if (res.data.errorMsg && res.data.errorMsg.length > 0) {
-            this.$confirm({
-              title: '提示',
-              content: res.data.errorMsg.map((item, i) => { return <p>{i * 1 + 1}、{item}</p> }),
-              centered: true,
-              okText: '知道了',
-              cancelText: '取消', // 将cancelText设置为空字符串或去掉该属性可以隐藏取消按钮
-              cancelButtonProps: {
-                style: {
-                  display: 'none' // 通过设置样式隐藏取消按钮
-                }
-              },
-              onOk () {
-                console.log('知道了')
-              }
-            })
-            return
-          }
           this.handleBack()
           this.$message.success(res.message)
           this.spinning = false