소스 검색

前端gjy

gjy 3 년 전
부모
커밋
46e66d9b2e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/purchasingManagement/purchaseOrderList.vue
  2. 1 1
      src/views/salesManagement/salesPlanOrderList.vue

+ 1 - 1
src/views/purchasingManagement/purchaseOrderList.vue

@@ -1467,7 +1467,7 @@ export default {
         return
       }
       if (
-        !this.aduitlist.basis &&
+        !String(this.aduitlist.basis) &&
         this.aduitlist.procurementPlanType != '现货'
       ) {
         this.$message({

+ 1 - 1
src/views/salesManagement/salesPlanOrderList.vue

@@ -1550,7 +1550,7 @@ export default {
         })
         return
       }
-      if (!this.aduitlist.basis && this.aduitlist.salePlanType == '期货') {
+      if ( !String(this.aduitlist.basis)  && this.aduitlist.salePlanType == '期货') {
         this.$message({
           message: '基差不能为空!',
           type: 'warning',