snow пре 1 година
родитељ
комит
1fcbe76b40

+ 10 - 0
src/views/dataCorrection/vendorCorrection/components/correctionForm.vue

@@ -425,6 +425,11 @@ export default {
 
       if (res && res.code === 0 && res.data) {
         this.initData();
+      } else if(res.code === 1005){
+          this.$alert('该采购单在结算系统已有有效业务,请解除后再申请',{
+            type:'warning',
+            message:res.message,
+          })
       } else if (res && res.code >= 100 && res.code <= 104) {
         await this.logout();
       }
@@ -477,6 +482,11 @@ export default {
 
         if (res && res.code === 0 && res.data) {
           this.$router.push("/dataCorrection/vendorCorrection");
+        }else if(res.code === 1005){
+          this.$alert('该采购单在结算系统已有有效业务,请解除后再申请',{
+            type:'warning',
+            message:res.message,
+          })
         } else if (res && res.code >= 100 && res.code <= 104) {
           await this.logout();
         } else {

+ 1 - 1
src/views/goodStore/goodsCost/components/addEdit.vue

@@ -265,7 +265,7 @@ export default {
       });
     },
     platform_codesearchChange(e) {
-      const { id, code, label, platform_type } = e;
+      const { id, platform_type } = e;
       this.ruleForm.platform = id || "";
       this.isYZPlatform = platform_type === "1";
       this.ruleForm.platform_type = platform_type

+ 1 - 1
src/views/sellOut/salesOrder/components/ShowDataTableColumns.js

@@ -216,7 +216,7 @@ const showColumns = [
   {
     prop: 'useage',
     label: '订单用途',
-    span: 16
+    span: 18
   },
   {
     prop: 'remark',