فهرست منبع

优先等级 修改字段绑定值
放箱号和OW 新加检索条件

Qukatie 1 هفته پیش
والد
کامیت
918e5d3194

+ 6 - 0
src/components/dicSelect/containerNumber.vue

@@ -108,6 +108,12 @@ export default {
           {
             label: "优先等级",
             prop: "priorityLevel",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
+            props: {
+              label: "dictValue",
+              value: "dictKey"
+            },
             width: 100,
             overHidden: true
           },

+ 2 - 1
src/views/boxManagement/containerNumber/detailsPage.vue

@@ -540,6 +540,7 @@ export default {
       form: {
         busType: "自有箱",
         boxClass: "自有箱",
+        priorityLevel:'1',
         whetherManuallyCreate: 0,
         putBoxItemsList: []
       },
@@ -850,7 +851,7 @@ export default {
             dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
             props: {
               label: "dictValue",
-              value: "dictValue"
+              value: "dictKey"
             },
             disabled: false
           },

+ 20 - 3
src/views/boxManagement/containerNumber/index.vue

@@ -43,6 +43,9 @@
         <template slot="containerNumber" slot-scope="{ row }">
           <span style="color: #1e9fff;cursor: pointer;" @click="rowEdit(row)">{{ row.containerNumber }}</span>
         </template>
+        <template slot="whetherDisplaySearch" slot-scope="{ row }">
+          <el-checkbox v-model="query.whetherDisplay" true-label="1" false-label="0"></el-checkbox>
+        </template>
       </avue-crud>
     </basic-container>
     <detailsPage v-if="!isShow" :detailData="detailData" @goBack="goBack"></detailsPage>
@@ -60,7 +63,9 @@ export default {
     return {
       isShow: true,
       form: {},
-      query: {},
+      query: {
+        whetherDisplay:'0'
+      },
       loading: false,
       page: {
         pageSize: 10,
@@ -75,7 +80,7 @@ export default {
         menuWidth: 140,
         tip: false,
         searchShow: true,
-        searchMenuSpan: 6,
+        searchMenuSpan: 24,
         border: true,
         index: true,
         addBtn: false,
@@ -122,8 +127,14 @@ export default {
           {
             label: "优先等级",
             prop: "priorityLevel",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
+            props: {
+              label: "dictValue",
+              value: "dictKey"
+            },
             overHidden: true,
-            width: 80,
+            width: 80
           },
           {
             label: "箱号",
@@ -462,6 +473,12 @@ export default {
             width: 100,
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd HH:mm:ss"
+          },
+          {
+            label: "可用为0",
+            prop: "whetherDisplay",
+            search: true,
+            hide: true
           }
         ]
       },

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

@@ -514,6 +514,12 @@ export default {
           {
             label: "优先等级",
             prop: "priorityLevel",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
+            props: {
+              label: "dictValue",
+              value: "dictKey"
+            },
             width: 100,
             overHidden: true
           },

+ 2 - 1
src/views/ow/owTask/detailsPage.vue

@@ -1561,6 +1561,7 @@ export default {
         boxCondition: "新",
         conditions: "CW",
         freeDay: 30,
+        priorityLevel:'1',
         // loloPol: '箱东付',
         // loloPod: '箱东付',
         rentTermList: [
@@ -1885,7 +1886,7 @@ export default {
             dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
             props: {
               label: "dictValue",
-              value: "dictValue"
+              value: "dictKey"
             },
             disabled: false,
             rules: [

+ 18 - 2
src/views/ow/owTask/index.vue

@@ -42,6 +42,9 @@
         <template slot="containerNumber" slot-scope="{ row }">
           <span style="color: #1e9fff;cursor: pointer;" @click="rowEdit(row)">{{ row.containerNumber }}</span>
         </template>
+            <template slot="whetherDisplaySearch" slot-scope="{ row }">
+          <el-checkbox v-model="query.whetherDisplay" true-label="1" false-label="0"></el-checkbox>
+        </template>
       </avue-crud>
     </basic-container>
     <detailsPage v-if="!isShow" :detailData="detailData" @goBack="goBack"></detailsPage>
@@ -60,7 +63,8 @@ export default {
       isShow: true,
       form: {},
       query: {
-        type: "OW-N"
+        type: "OW-N",
+        whetherDisplay:'0'
       },
       loading: false,
       page: {
@@ -76,7 +80,7 @@ export default {
         menuWidth: 140,
         tip: false,
         searchShow: true,
-        searchMenuSpan: 18,
+        searchMenuSpan: 12,
         border: true,
         index: true,
         addBtn: false,
@@ -166,6 +170,12 @@ export default {
           {
             label: "优先等级",
             prop: "priorityLevel",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=priorityLevel",
+            props: {
+              label: "dictValue",
+              value: "dictKey"
+            },
             overHidden: true,
             width: 80
           },
@@ -557,6 +567,12 @@ export default {
             width: 100,
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd HH:mm:ss"
+          },
+          {
+            label: "未提箱为0",
+            prop: "whetherDisplay",
+            search: true,
+            hide: true
           }
         ]
       },