Browse Source

修改集港码头

caojunjie 4 năm trước cách đây
mục cha
commit
d98f559e79
1 tập tin đã thay đổi với 13 bổ sung9 xóa
  1. 13 9
      src/views/jiGang/index.vue

+ 13 - 9
src/views/jiGang/index.vue

@@ -268,7 +268,7 @@
           </template>
         </el-table-column>
         <el-table-column
-          prop="fFeeUnitid"
+          prop="fFeeunitid"
           header-align="center"
           align="center"
           width="180px"
@@ -277,7 +277,7 @@
           <template slot-scope="scope">
             <el-select
               style="width: 80%"
-              v-model="scope.row.fFeeUnitid"
+              v-model="scope.row.fFeeunitid"
               filterable
               :disabled="disabled"
             >
@@ -470,7 +470,7 @@
           </template>
         </el-table-column>
         <el-table-column
-          prop="fFeeUnitid"
+          prop="fFeeunitid"
           header-align="center"
           align="center"
           width="180px"
@@ -479,7 +479,7 @@
           <template slot-scope="scope">
             <el-select
               style="width: 80%"
-              v-model="scope.row.fFeeUnitid"
+              v-model="scope.row.fFeeunitid"
               filterable
               :disabled="disabled"
             >
@@ -712,7 +712,7 @@ export default {
     changeFeeId(row) {
       for (let li in this.fWbuOptions) {
         if (row.fFeeid === this.fWbuOptions[li].fId) {
-          this.$set(row, 'fFeeUnitid', this.fWbuOptions[li].fFeeunitid + '')
+          this.$set(row, 'fFeeunitid', this.fWbuOptions[li].fFeeunitid + '')
           this.changeFeeUnit(row)
           break
         }
@@ -756,8 +756,12 @@ export default {
           this.queryParams = res.data.warehouseBills
           this.warehouseDrList = res.data.feesDrList
           this.warehouseCrList = res.data.feesCrList
-          this.warehouseDrList.fFeeUnitid = this.warehouseDrList.fFeeUnitid + ''
-          this.warehouseCrList.fFeeUnitid = this.warehouseCrList.fFeeUnitid + ''
+          for (let item in this.warehouseDrList){
+            this.warehouseDrList[item].fFeeunitid = this.warehouseDrList[item].fFeeunitid + ''
+          }
+          for (let item in this.warehouseCrList){
+            this.warehouseCrList[item].fFeeunitid = this.warehouseCrList[item].fFeeunitid + ''
+          }
           if (this.queryParams.fBillstatus !== 2) {
             this.disabled = true
           } else {
@@ -781,7 +785,7 @@ export default {
     addpayment() {
       this.warehouseCrList.push({
         fCorpid: '',
-        fFeeUnitid: '',
+        fFeeunitid: '',
         fInventoryDays: '',
         fQty: '',
         fUnitprice: '',
@@ -859,7 +863,7 @@ export default {
     addCollection() {
       this.warehouseDrList.push({
         fCorpid: '',
-        fFeeUnitid: '',
+        fFeeunitid: '',
         fInventoryDays: '',
         fQty: '',
         fUnitprice: '',