Ver código fonte

吉永箱信息

caojunjie 1 ano atrás
pai
commit
4f0a42e4c0

+ 4 - 0
src/views/boxManagement/buyContainer/detailsPage.vue

@@ -996,6 +996,10 @@ export default {
       },
       // 获取箱信息数据
       xiangpage(page,params = {}){
+          const idp = this.form.id?this.form.id:this.onLoad.id
+        if (!idp) {
+            return
+        }
           // params = {
           //     ...params,
           //     ...Object.assign(params, this.search)

+ 4 - 0
src/views/boxManagement/exportShipment/detailsPage.vue

@@ -1388,6 +1388,10 @@ export default {
       },
       // 获取箱信息数据
       xiangpagefun(page,params = {}){
+          const idp = this.form.id?this.form.id:this.onLoad.id
+          if (!idp) {
+              return
+          }
           this.loading = true
           transportItemListfun({
               ...params,

+ 4 - 0
src/views/boxManagement/importReturnTrip/detailsPage.vue

@@ -1400,6 +1400,10 @@ export default {
       },
       // 获取箱信息数据
       xiangpagefun(page,params = {}){
+          const idp = this.form.id?this.form.id:this.onLoad.id
+          if (!idp) {
+              return
+          }
           this.loading = true
           transportItemListfun({
               ...params,

+ 4 - 0
src/views/boxManagement/sellingContainers/detailsPage.vue

@@ -995,6 +995,10 @@ export default {
       },
       // 获取箱信息数据
       xiangpage(page,params = {}){
+          const idp = this.form.id?this.form.id:this.onLoad.id
+          if (!idp) {
+              return
+          }
           // params = {
           //     ...params,
           //     ...Object.assign(params, this.search)

+ 7 - 0
src/views/financialManagement/paymentSettle/configuration/detailsPage.json

@@ -55,6 +55,13 @@
       "index": 4
     },
     {
+      "label": "箱号",
+      "prop": "srcSysno",
+      "overHidden": true,
+      "width": 200,
+      "index": 4
+    },
+    {
       "label": "金额",
       "prop": "amount",
       "overHidden": true,

+ 10 - 2
src/views/financialManagement/paymentSettle/paymentSettleDetailsPage.vue

@@ -42,7 +42,7 @@
               </el-option>
             </el-select>
           </template>
-            <template slot="memberBalance">
+            <template slot="memberBalance" v-if="sysitemType != 10">
                 <el-input-number v-model="form.memberBalance" disabled
                                  placeholder="请输入" size="small" :controls="false">
                 </el-input-number>
@@ -154,6 +154,8 @@ export default {
   },
   data() {
     return {
+        // 当前登陆用户的状态
+        sysitemType:null,
       form: {},
       switchDialog:false,
       itemsForm: {},
@@ -408,10 +410,16 @@ export default {
     billDetail,reportDialog
   },
   created() {
+      // 获取状态
+      this.sysitemType = localStorage.getItem('sysitemType')
+      if (this.sysitemType == 10) {
+          this.findObject(this.option.column, "memberBalance").display = false
+      }
+
       isProcurement({param:"whether.display.member"}).then(res=>{
           this.isProcurementfalse = res.data.data
           if (this.isProcurementfalse == 1) {
-              this.findObject(this.itemsOption.column, "memberBalance").hide = falses
+              this.findObject(this.itemsOption.column, "memberBalance").hide = false
           }
       })
 

+ 7 - 0
src/views/financialManagement/receiptSettle/configuration/detailsPage.json

@@ -55,6 +55,13 @@
       "index": 4
     },
     {
+      "label": "箱号",
+      "prop": "srcSysno",
+      "overHidden": true,
+      "width": 200,
+      "index": 4
+    },
+    {
       "label": "金额",
       "prop": "amount",
       "overHidden": true,

+ 8 - 1
src/views/financialManagement/receiptSettle/receiptSettleDetailsPage.vue

@@ -86,7 +86,7 @@
               :disabled="dataList.length == 0 || !financeDisabled || editDisable"
             ></el-input>
           </template>
-            <template slot="memberBalance">
+            <template slot="memberBalance" v-if="sysitemType != 10">
                 <el-input-number v-model="form.memberBalance" disabled
                                  placeholder="请输入" size="small" :controls="false">
                 </el-input-number>
@@ -257,6 +257,7 @@
     },
     data() {
       return {
+          sysitemType:null,
         category: '',
         form: {},
         itemsForm:{},
@@ -513,6 +514,12 @@
       }
     },
     created() {
+        // 获取状态
+        this.sysitemType = localStorage.getItem('sysitemType')
+        if (this.sysitemType == 10) {
+            this.findObject(this.option.column, "memberBalance").display = false
+        }
+
         isProcurement({param:"whether.display.member"}).then(res=>{
             this.isProcurementfalse = res.data.data
             if (this.isProcurementfalse == 1) {