QuKatie 3 лет назад
Родитель
Сommit
4d94803934

+ 11 - 2
src/views/exportTrade/purchaseInquiry/detailsPage.vue

@@ -782,12 +782,21 @@ export default {
                   "第" + (Number(i) + 1) + "行的单价不能为空或不能为0"
                 );
               }
-              if (this.data[i].taxRate == "") {
+
+              if (
+                this.data[i].taxRate == null ||
+                this.data[i].taxRate == undefined ||
+                this.data[i].taxRate === ""
+              ) {
                 return this.$message.error(
                   "第" + (Number(i) + 1) + "行的税率不能为空"
                 );
               }
-              if (this.data[i].coefficient == "") {
+              if (
+                this.data[i].coefficient == null ||
+                this.data[i].coefficient == undefined ||
+                this.data[i].coefficient === ""
+              ) {
                 return this.$message.error(
                   "第" + (Number(i) + 1) + "行的FOB系数不能为空"
                 );

+ 1 - 4
src/views/maintenance/priceLibrary/index.vue

@@ -50,10 +50,7 @@
           />
         </template>
         <template slot="corpIdSearch">
-          <select-component
-            v-model="search.corpId"
-            :configuration="configuration"
-          ></select-component>
+          <crop-select v-model="search.corpId" corpType="GYS"></crop-select>
         </template>
         <template slot="dateValiditySearch">
           <el-date-picker

+ 1 - 1
src/views/statisticAnalysis/salesProfit/index.vue

@@ -334,6 +334,6 @@ export default {
   padding: 0px;
 }
 .itemTable ::v-deep .el-table {
-  width: 940px;
+  width: 100%;
 }
 </style>