Browse Source

修改首页和进出口的箱型

Qukatie 9 months ago
parent
commit
9945fbe2b0

File diff suppressed because it is too large
+ 566 - 579
src/views/iosBasicData/OceanFreightImport/bills/assembly/EntrustmentLnformation/precontainers.vue


+ 6 - 3
src/views/iosBasicData/SeafreightExportF/bills/assembly/EntrustmentLnformation/precontainers.vue

@@ -13,11 +13,13 @@
                 <el-button type="primary" size="small" :disabled="seeDisabled" @click="batchSavefun">一键保存</el-button>
                 <el-button type="info" plain size="small" :disabled="seeDisabled" @click="onclickEdit">一键编辑
                 </el-button>
-                <el-button type="success" size="small" plain :disabled="seeDisabled" @click.stop="equalDistribution">一键配箱
+                <el-button type="success" size="small" plain :disabled="seeDisabled"
+                    @click.stop="equalDistribution">一键配箱
                 </el-button>
             </template>
             <template slot-scope="scope" slot="menu">
-                <el-button size="mini" type="text" @click.stop="editfun(scope.row, scope.index)" :disabled="seeDisabled">
+                <el-button size="mini" type="text" @click.stop="editfun(scope.row, scope.index)"
+                    :disabled="seeDisabled">
                     {{ scope.row.$cellEdit ? '保存' : '编辑' }}
                 </el-button>
                 <!--<el-button-->
@@ -450,14 +452,15 @@ export default {
         },
         corpClear(value, row) {
             this.$set(row, 'cntrTypeCode', null)
+            this.$set(row, 'cntrTypeCodeId', null)
             this.$set(row, 'teu', null)
         },
         // 选择框的回调
         corpChange(value, row) {
-            
             for (let item of this.cntrTypeCodeData) {
                 if (item.cnName == value) {
                     this.$set(row, 'cntrTypeCode', item.cnName)
+                    this.$set(row, 'cntrTypeCodeId', item.id)
                     this.$set(row, 'teu', item.teu)
                 }
             }

+ 2 - 2
src/views/wel/components/losHome.vue

@@ -5,8 +5,8 @@
         <losrealtime class="item3"></losrealtime>
         <losleftform class="item4" ></losleftform>
         <losrightform class="item5" ></losrightform>
-        <IosBox class="item6" ></IosBox>
-        <IosDeposit class="item7" ></IosDeposit>
+        <IosBox class="item6" v-if="tenantNumber=='263057'"></IosBox>
+        <IosDeposit class="item7" v-if="tenantNumber=='263057'"></IosDeposit>
     </div>
 </template>
 

Some files were not shown because too many files changed in this diff