Explorar el Código

进口 事务 细节

qinbai hace 3 años
padre
commit
0be4aee314

+ 1 - 1
src/components/finance/applyPayment.vue

@@ -169,7 +169,7 @@ export default {
             ]
           },
           {
-            label: this.billData.optionType === "JK" ? '合同日期' : "订单日期",
+            label: this.billType === "收费"?'退款日期':this.billData.optionType === "JK" ? '合同日期' : "订单日期",
             type: "date",
             prop: 'accDate',
             span: 8,

+ 1 - 1
src/views/financialManagement/paymentRequest/configuration/mainList.json

@@ -14,7 +14,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 180,
+  "menuWidth": 130,
   "dialogClickModal": false,
   "searchLabelWidth": 120,
   "searchIcon": true,

+ 1 - 1
src/views/financialManagement/paymentSettle/configuration/mainList.json

@@ -14,7 +14,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 180,
+  "menuWidth": 130,
   "dialogClickModal": false,
   "searchLabelWidth": 120,
   "searchIcon": true,

+ 1 - 1
src/views/financialManagement/receiptSettle/configuration/mainList.json

@@ -14,7 +14,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 220,
+  "menuWidth": 130,
   "dialogClickModal": false,
   "searchLabelWidth": 120,
   "searchIcon": true,

+ 1 - 1
src/views/purchase/contract/config/mainList.json

@@ -15,7 +15,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 180,
+  "menuWidth": 150,
   "dialogClickModal": false,
   "searchLabelWidth": 120,
   "searchIcon": true,

+ 29 - 39
src/views/purchase/contract/detailsPage.vue

@@ -659,7 +659,7 @@ export default {
           },
           {
             label: '最迟付款日期',
-            prop: 'LatestDate',
+            prop: 'latestDate',
             type:'date',
             rules: [
               {
@@ -745,28 +745,7 @@ export default {
       let id = this.detailData.id.replace(/\"/g, "")
       detailListData(id).then(res => {
         this.form = res.data.data;
-        this.oldForm = Object.assign({},res.data.data);
-        this.configuration.dicData = this.form.corpsName
-        this.pConfiguration.dicData = this.form.purchaserName
-        if(res.data.data.itemsVOList){
-          this.contactsData = res.data.data.itemsVOList
-          this.oldContactsData = this.deepClone(res.data.data.itemsVOList)
-          //明细列表内是否有 已经收货的 如果有  则禁用一些输入框
-          this.takeDisabled = this.contactsData.map(item =>{if(item.actualQuantity != 0) return true}).some(item => {return item == true})
-          this.basicData.column.forEach(item =>{
-            if(item.prop == "businesDate" || item.prop == "requiredDeliveryDate"  || item.prop == "requiredArrivalDate" || item.prop == ""){
-              item.disabled = this.takeDisabled
-            }
-          })
-        }
-        if(res.data.data.orderFeesList){
-          this.orderFeesList = res.data.data.orderFeesList
-          this.oldFeesList = this.deepClone(res.data.data.orderFeesList)
-        }
-        if( res.data.data.orderFilesList){
-          this.orderFilesList = res.data.data.orderFilesList
-          this.oldFilesList = this.deepClone(res.data.data.orderFilesList)
-        }
+        this.afterEcho(res.data.data)
       }).finally(()=>{
         this.buttonLoading = false;
       })
@@ -898,21 +877,7 @@ export default {
               this.$message.success("操作成功!")
               detailListData(this.form.id).then(res => {
                 this.form = res.data.data;
-                this.oldForm = Object.assign({},res.data.data);
-                this.configuration.dicData = this.form.corpsName
-                this.pConfiguration.dicData = this.form.purchaserName
-                if(res.data.data.itemsVOList){
-                  this.contactsData = res.data.data.itemsVOList
-                  this.oldContactsData = this.deepClone(res.data.data.itemsVOList)
-                }
-                if(res.data.data.orderFeesList){
-                  this.orderFeesList = res.data.data.orderFeesList
-                  this.oldFeesList = this.deepClone(res.data.data.orderFeesList)
-                }
-                if( res.data.data.orderFilesList){
-                  this.orderFilesList = res.data.data.orderFilesList
-                  this.oldFilesList = this.deepClone(res.data.data.orderFilesList)
-                }
+                this.afterEcho(res.data.data)
               })
             }
           }).finally(()=>{
@@ -926,6 +891,31 @@ export default {
         }
       });
     },
+    //回调
+    afterEcho(form){
+      this.oldForm = Object.assign({},form);
+      this.configuration.dicData = this.form.corpsName
+      this.pConfiguration.dicData = this.form.purchaserName
+      if(form.itemsVOList){
+        this.contactsData = form.itemsVOList
+        this.oldContactsData = this.deepClone(form.itemsVOList)
+        //明细列表内是否有 已经收货的 如果有  则禁用一些输入框
+        this.takeDisabled = this.contactsData.map(item =>{if(item.actualQuantity != 0) return true}).some(item => {return item == true})
+        this.basicData.column.forEach(item =>{
+          if(item.prop == "businesDate" || item.prop == "requiredDeliveryDate"  || item.prop == "requiredArrivalDate" || item.prop == "latestDate"  || item.prop == ""){
+            item.disabled = this.takeDisabled
+          }
+        })
+      }
+      if(form.orderFeesList){
+        this.orderFeesList = form.orderFeesList
+        this.oldFeesList = this.deepClone(form.orderFeesList)
+      }
+      if( form.orderFilesList){
+        this.orderFilesList = form.orderFilesList
+        this.oldFilesList = this.deepClone(form.orderFilesList)
+      }
+    },
     selectionContact(row){
       this.selectContact = row;
     },
@@ -1005,7 +995,7 @@ export default {
         price:this.form.salesPrice,
         corpsName:this.form.corpsName,
         corpId:this.form.corpId,
-        accDate:this.form.businesDate,
+        // accDate:this.billType:   this.form.businesDate,
         currency:this.form.currency,
         exchangeRate:this.form.exchangeRate,
         srcParentId:this.form.id,

+ 40 - 40
src/views/purchase/stockBill/config/mainList.json

@@ -70,88 +70,88 @@
       "width": 150
     },
     {
-      "label": "货物名称",
-      "search": true,
+      "label": "可用库存",
+      "prop": "surplusRouteQuantity",
       "overHidden": true,
       "index": 3,
-      "width": 220,
-      "prop": "cname"
-    },
-    {
-      "label": "箱号",
-      "prop": "cntrNo",
-      "index": 4,
-      "overHidden": true,
       "width": 120
     },
     {
-      "label": "仓库",
-      "prop": "stockName",
-      "index": 4,
+      "label": "入库件数",
+      "prop": "inQuantity",
       "overHidden": true,
+      "index": 4,
       "width": 120
     },
     {
-      "label": "采购日期",
-      "search": true,
-      "prop": "createTime",
-      "format": "yyyy-MM-dd",
-      "valueFormat": "yyyy-MM-dd",
-      "type": "date",
-      "unlinkPanels": true,
-      "searchRange": true,
+      "label": "入库发票重量",
+      "prop": "inWeight",
       "overHidden": true,
       "index": 5,
-      "width": 150
+      "width": 120
     },
     {
-      "label": "可用库存",
-      "prop": "surplusRouteQuantity",
+      "label": "出库件数",
+      "prop": "outQuantity",
       "overHidden": true,
       "index": 6,
       "width": 120
     },
     {
-      "label": "入库件数",
-      "prop": "inQuantity",
+      "label": "出库发票重量",
+      "prop": "outWeight",
       "overHidden": true,
-      "index": 6,
+      "index": 7,
       "width": 120
     },
     {
-      "label": "入库发票重量",
-      "prop": "inWeight",
+      "label": "结余件数",
+      "prop": "balanceQuantity",
       "overHidden": true,
-      "index": 7,
+      "index": 8,
       "width": 120
     },
     {
-      "label": "出库件数",
-      "prop": "outQuantity",
+      "label": "结余重量",
+      "prop": "balanceWeight",
       "overHidden": true,
       "index": 9,
       "width": 120
     },
     {
-      "label": "出库发票重量",
-      "prop": "outWeight",
+      "label": "货物名称",
+      "search": true,
       "overHidden": true,
       "index": 10,
-      "width": 120
+      "width": 220,
+      "prop": "cname"
     },
     {
-      "label": "结余件数",
-      "prop": "balanceQuantity",
+      "label": "箱号",
+      "prop": "cntrNo",
+      "index": 11,
       "overHidden": true,
+      "width": 120
+    },
+    {
+      "label": "仓库",
+      "prop": "stockName",
       "index": 12,
+      "overHidden": true,
       "width": 120
     },
     {
-      "label": "结余重量",
-      "prop": "balanceWeight",
+      "label": "采购日期",
+      "search": true,
+      "prop": "createTime",
+      "format": "yyyy-MM-dd",
+      "valueFormat": "yyyy-MM-dd",
+      "type": "date",
+      "unlinkPanels": true,
+      "searchRange": true,
       "overHidden": true,
       "index": 13,
-      "width": 120
+      "width": 150
     }
   ]
 }

+ 4 - 4
src/views/workManagement/main-items/configuration/mainList.json

@@ -18,7 +18,7 @@
   "viewBtn": false,
   "delBtn": false,
   "showSummary": true,
-  "menuWidth": 220,
+  "menuWidth": 120,
   "column": [
     {
       "label": "客户名称",
@@ -38,7 +38,7 @@
       "label": "客户名称",
       "prop": "corpNames",
       "index": 4,
-      "width": 120,
+      "width": 180,
       "overHidden": true
     },
     {
@@ -81,7 +81,7 @@
       "label": "制单人",
       "prop": "createUserName",
       "index": 11,
-      "width": 120,
+      "width": 130,
       "overHidden": true
     },
     {
@@ -102,7 +102,7 @@
       "prop": "updateUserName",
       "index": 13,
       "overHidden": true,
-      "width": 120
+      "width": 130
     },
     {
       "label": "最新修改时间",

+ 7 - 0
src/views/workManagement/main-items/list.vue

@@ -125,6 +125,13 @@ export default {
       this.show = false;
       this.$store.commit("MAIN_IN_DETAIL");
     }
+    getUserList().then(res=>{
+      res.data.data.map((item,index)=>{
+        if(index <= 20){
+          this.options.push(item)
+        }
+      })
+    })
   },
   mounted() {
 

+ 2 - 2
src/views/workManagement/receipt/configuration/settleAccounts.json

@@ -17,7 +17,7 @@
   "editBtn": false,
   "viewBtn": false,
   "delBtn": false,
-  "menuWidth": 220,
+  "menuWidth": 80,
   "showSummary": true,
   "summaryText": "合计",
   "sumColumnList": [
@@ -52,7 +52,7 @@
       "prop": "corpNames",
       "overHidden": true,
       "index": 4,
-      "width": 120
+      "width": 180
     },
     {
       "label": "客户名称",

+ 2 - 2
src/views/workManagement/receipt/configuration/statisticalList.json

@@ -17,7 +17,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 150,
+  "menuWidth": 80,
   "showSummary": true,
   "summaryText": "合计",
   "sumColumnList": [
@@ -131,7 +131,7 @@
       "prop": "cornName",
       "overHidden": true,
       "index": 2,
-      "width": 150
+      "width": 180
     },
     {
       "label": "毛收入",

+ 9 - 0
src/views/workManagement/receipt/settleAccounts.vue

@@ -102,6 +102,15 @@
     components:{
       detailPage
     },
+    created() {
+      getUserList().then(res=>{
+        res.data.data.map((item,index)=>{
+          if(index <= 20){
+            this.options.push(item)
+          }
+        })
+      })
+    },
     mounted() {
       // option.height = window.innerHeight - 340 ;
     },

+ 7 - 1
src/views/workManagement/receipt/statisticalList.vue

@@ -90,7 +90,13 @@
       }
     },
     created() {
-
+      getUserList().then(res=>{
+        res.data.data.map((item,index)=>{
+          if(index <= 20){
+            this.options.push(item)
+          }
+        })
+      })
     },
     mounted() {
       // option.height = window.innerHeight - 320 ;

+ 1 - 1
src/views/workManagement/task/configuration/mainList.json

@@ -17,7 +17,7 @@
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 150,
+  "menuWidth": 140,
   "searchLabelWidth": 100,
   "showSummary": true,
   "summaryText": "合计",