瀏覽代碼

修改达沃特采购订单申请贷款取值不对问题

caojunjie 3 年之前
父節點
當前提交
18d1aa1f32

+ 0 - 22
src/components/finance/config/option.json

@@ -48,20 +48,6 @@
       ]
     },
     {
-      "label": "费用名称",
-      "prop": "costType",
-      "overHidden": true,
-      "index": 4,
-      "width": 180,
-      "rules": [
-        {
-          "required": true,
-          "message": " ",
-          "trigger": "blur"
-        }
-      ]
-    },
-    {
       "label": "合同日期",
       "prop": "accDate",
       "type": "date",
@@ -159,14 +145,6 @@
       "width": 120
     },
     {
-      "label": "商品名称",
-      "prop": "goodName",
-      "overHidden": true,
-      "index": 12,
-      "value": 0,
-      "width": 120
-    },
-    {
       "label": "备注",
       "prop": "remarks",
       "overHidden": true,

+ 13 - 13
src/components/finance/financialAccount.vue

@@ -61,17 +61,17 @@
 
           <span v-else>{{corpsName}}</span>
         </template>
-        <template slot-scope="{row,index}" slot="costType">
-          <breakdown-select
-            v-if="row.$cellEdit"
-            v-model="row.costType"
-            style="width: 90%"
-            :configuration="configuration"
-            @selectValue="(value) => {getFeeValue(row, value)}"
-          >
-          </breakdown-select>
-          <span v-else>{{ row.costName }}</span>
-        </template>
+<!--        <template slot-scope="{row,index}" slot="costType">-->
+<!--          <breakdown-select-->
+<!--            v-if="row.$cellEdit"-->
+<!--            v-model="row.costType"-->
+<!--            style="width: 90%"-->
+<!--            :configuration="configuration"-->
+<!--            @selectValue="(value) => {getFeeValue(row, value)}"-->
+<!--          >-->
+<!--          </breakdown-select>-->
+<!--          <span v-else>{{ row.costName }}</span>-->
+<!--        </template>-->
         <template slot-scope="{row,index}" slot="billNo">
           <el-select placeholder="请选择"
                      v-if="row.$cellEdit"
@@ -656,8 +656,7 @@
           corpType: 'KG'
         });
         this.dialogLoading = true;
-        customerList(queryParams)
-          .then(res => {
+        customerList(queryParams).then(res => {
             this.corpData = res.data.data.records;
             this.corpPage.total = res.data.data.total;
             if (this.corpPage.total) {
@@ -669,6 +668,7 @@
           });
       },
       importCorp() {
+        // item.srcFeesId = item.id
         this.corpData.forEach((item, index) => {
           if (index == this.rowData.index) {
             item.corpId = this.selectionList[0].id;

+ 3 - 4
src/views/businessManagement/purchaseOrder/detailsPageEdit.vue

@@ -1512,11 +1512,10 @@ export default {
       }
       let amount = 0;
       let quantity = 0;
+      console.log(this.contactsData)
       this.contactsData.map(e => {
-        if (e.submitPay != 1) {
-          amount += Number(e.amount)
-          quantity += Number(e.orderQuantity)
-        }
+        amount += Number(e.amount)
+        quantity += Number(e.orderQuantity)
       })
       const price = quantity === 0? 0: Number(amount) / Number(quantity)
       this.billData = {