|  | @@ -170,11 +170,14 @@
 | 
											
												
													
														|  |          <el-button round icon="el-icon-arrow-left" @click="open" size="small">返回列表</el-button>
 |  |          <el-button round icon="el-icon-arrow-left" @click="open" size="small">返回列表</el-button>
 | 
											
												
													
														|  |          <el-button type="primary" round size="small" @click="submitForm" icon="el-icon-edit">保 存</el-button>
 |  |          <el-button type="primary" round size="small" @click="submitForm" icon="el-icon-edit">保 存</el-button>
 | 
											
												
													
														|  |          <el-button type="success" round size="small" @click="submit" icon="el-icon-check">提 交</el-button>
 |  |          <el-button type="success" round size="small" @click="submit" icon="el-icon-check">提 交</el-button>
 | 
											
												
													
														|  | -        <el-button type="danger" round size="small" icon="el-icon-close" @click="cancellation" v-if="queryParams.fBillstatus >2">撤销提交</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <el-button type="danger" round size="small" icon="el-icon-close" @click="cancellation"
 | 
											
												
													
														|  | 
 |  | +                   v-if="queryParams.fBillstatus >2">撤销提交
 | 
											
												
													
														|  | 
 |  | +        </el-button>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |        <el-form
 |  |        <el-form
 | 
											
												
													
														|  |          :model="queryParams"
 |  |          :model="queryParams"
 | 
											
												
													
														|  | -        ref="queryForm"
 |  | 
 | 
											
												
													
														|  | 
 |  | +        ref="rules"
 | 
											
												
													
														|  | 
 |  | +        :rules="rules"
 | 
											
												
													
														|  |          :inline="true"
 |  |          :inline="true"
 | 
											
												
													
														|  |          label-width="88px"
 |  |          label-width="88px"
 | 
											
												
													
														|  |        >
 |  |        >
 | 
											
										
											
												
													
														|  | @@ -253,6 +256,7 @@
 | 
											
												
													
														|  |                remote
 |  |                remote
 | 
											
												
													
														|  |                :remote-method="corpsRemoteMethod"
 |  |                :remote-method="corpsRemoteMethod"
 | 
											
												
													
														|  |                placeholder="客户名称"
 |  |                placeholder="客户名称"
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in KHblnoOptions"
 |  |                  v-for="(dict, index) in KHblnoOptions"
 | 
											
										
											
												
													
														|  | @@ -275,6 +279,7 @@
 | 
											
												
													
														|  |                style="width: 80%"
 |  |                style="width: 80%"
 | 
											
												
													
														|  |                v-model="scope.row.fFeeUnitid"
 |  |                v-model="scope.row.fFeeUnitid"
 | 
											
												
													
														|  |                filterable
 |  |                filterable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in businessTypeOption"
 |  |                  v-for="(dict, index) in businessTypeOption"
 | 
											
										
											
												
													
														|  | @@ -299,6 +304,7 @@
 | 
											
												
													
														|  |                style="width: 80%"
 |  |                style="width: 80%"
 | 
											
												
													
														|  |                v-model="scope.row.fFeeid"
 |  |                v-model="scope.row.fFeeid"
 | 
											
												
													
														|  |                filterable
 |  |                filterable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in fFeeid_s"
 |  |                  v-for="(dict, index) in fFeeid_s"
 | 
											
										
											
												
													
														|  | @@ -322,6 +328,7 @@
 | 
											
												
													
														|  |                v-model="scope.row.fInventoryDays"
 |  |                v-model="scope.row.fInventoryDays"
 | 
											
												
													
														|  |                placeholder="请选择箱型"
 |  |                placeholder="请选择箱型"
 | 
											
												
													
														|  |                clearable
 |  |                clearable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in jFeetunitOptions"
 |  |                  v-for="(dict, index) in jFeetunitOptions"
 | 
											
										
											
												
													
														|  | @@ -344,7 +351,9 @@
 | 
											
												
													
														|  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 |  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 | 
											
												
													
														|  |                v-model="scope.row.fQty"
 |  |                v-model="scope.row.fQty"
 | 
											
												
													
														|  |                placeholder="箱量"
 |  |                placeholder="箱量"
 | 
											
												
													
														|  | 
 |  | +              @input="calculation(scope.row)"
 | 
											
												
													
														|  |                show-word-limit
 |  |                show-word-limit
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              />
 |  |              />
 | 
											
												
													
														|  |            </template>
 |  |            </template>
 | 
											
												
													
														|  |          </el-table-column>
 |  |          </el-table-column>
 | 
											
										
											
												
													
														|  | @@ -361,6 +370,8 @@
 | 
											
												
													
														|  |                v-model="scope.row.fUnitprice"
 |  |                v-model="scope.row.fUnitprice"
 | 
											
												
													
														|  |                placeholder="单价"
 |  |                placeholder="单价"
 | 
											
												
													
														|  |                show-word-limit
 |  |                show-word-limit
 | 
											
												
													
														|  | 
 |  | +              @input="calculation(scope.row)"
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              />
 |  |              />
 | 
											
												
													
														|  |            </template>
 |  |            </template>
 | 
											
												
													
														|  |          </el-table-column>
 |  |          </el-table-column>
 | 
											
										
											
												
													
														|  | @@ -373,6 +384,7 @@
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |            <template slot-scope="scope">
 |  |            <template slot-scope="scope">
 | 
											
												
													
														|  |              <el-input
 |  |              <el-input
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 |  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 | 
											
												
													
														|  |                v-model="scope.row.fAmt"
 |  |                v-model="scope.row.fAmt"
 | 
											
												
													
														|  |                placeholder="金额"
 |  |                placeholder="金额"
 | 
											
										
											
												
													
														|  | @@ -391,7 +403,7 @@
 | 
											
												
													
														|  |                      deleteRow(scope.$index, warehouseDrList)
 |  |                      deleteRow(scope.$index, warehouseDrList)
 | 
											
												
													
														|  |                    "
 |  |                    "
 | 
											
												
													
														|  |                size="small"
 |  |                size="small"
 | 
											
												
													
														|  | -              :disabled="browseStatus"
 |  | 
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >移除
 |  |              >移除
 | 
											
												
													
														|  |              </el-button
 |  |              </el-button
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
										
											
												
													
														|  | @@ -414,12 +426,14 @@
 | 
											
												
													
														|  |              type="primary"
 |  |              type="primary"
 | 
											
												
													
														|  |              @click.prevent="addpayment()"
 |  |              @click.prevent="addpayment()"
 | 
											
												
													
														|  |              size="small"
 |  |              size="small"
 | 
											
												
													
														|  | 
 |  | +            :disabled="disabled"
 | 
											
												
													
														|  |            >新行
 |  |            >新行
 | 
											
												
													
														|  |            </el-button>
 |  |            </el-button>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |        <el-table
 |  |        <el-table
 | 
											
												
													
														|  |          :data="warehouseCrList"
 |  |          :data="warehouseCrList"
 | 
											
												
													
														|  | 
 |  | +        :disabled="disabled"
 | 
											
												
													
														|  |          ref="table"
 |  |          ref="table"
 | 
											
												
													
														|  |          tooltip-effect="dark"
 |  |          tooltip-effect="dark"
 | 
											
												
													
														|  |          border
 |  |          border
 | 
											
										
											
												
													
														|  | @@ -441,6 +455,7 @@
 | 
											
												
													
														|  |              <el-select
 |  |              <el-select
 | 
											
												
													
														|  |                v-model="scope.row.fCorpid"
 |  |                v-model="scope.row.fCorpid"
 | 
											
												
													
														|  |                filterable
 |  |                filterable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                remote
 |  |                remote
 | 
											
												
													
														|  |                :remote-method="corpsRemoteMethod"
 |  |                :remote-method="corpsRemoteMethod"
 | 
											
												
													
														|  |                placeholder="客户名称"
 |  |                placeholder="客户名称"
 | 
											
										
											
												
													
														|  | @@ -466,6 +481,7 @@
 | 
											
												
													
														|  |                style="width: 80%"
 |  |                style="width: 80%"
 | 
											
												
													
														|  |                v-model="scope.row.fFeeUnitid"
 |  |                v-model="scope.row.fFeeUnitid"
 | 
											
												
													
														|  |                filterable
 |  |                filterable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in businessTypeOption"
 |  |                  v-for="(dict, index) in businessTypeOption"
 | 
											
										
											
												
													
														|  | @@ -488,6 +504,7 @@
 | 
											
												
													
														|  |                style="width: 80%"
 |  |                style="width: 80%"
 | 
											
												
													
														|  |                v-model="scope.row.fFeeid"
 |  |                v-model="scope.row.fFeeid"
 | 
											
												
													
														|  |                filterable
 |  |                filterable
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
												
													
														|  |                  v-for="(dict, index) in fFeeid_s"
 |  |                  v-for="(dict, index) in fFeeid_s"
 | 
											
										
											
												
													
														|  | @@ -509,6 +526,7 @@
 | 
											
												
													
														|  |              <el-select
 |  |              <el-select
 | 
											
												
													
														|  |                v-model="scope.row.fInventoryDays"
 |  |                v-model="scope.row.fInventoryDays"
 | 
											
												
													
														|  |                placeholder="请选择箱型"
 |  |                placeholder="请选择箱型"
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                clearable
 |  |                clearable
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
												
													
														|  |                <el-option
 |  |                <el-option
 | 
											
										
											
												
													
														|  | @@ -529,9 +547,11 @@
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |            <template slot-scope="scope">
 |  |            <template slot-scope="scope">
 | 
											
												
													
														|  |              <el-input
 |  |              <el-input
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 |  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 | 
											
												
													
														|  |                v-model="scope.row.fQty"
 |  |                v-model="scope.row.fQty"
 | 
											
												
													
														|  |                placeholder="箱量"
 |  |                placeholder="箱量"
 | 
											
												
													
														|  | 
 |  | +              @input="calculation(scope.row)"
 | 
											
												
													
														|  |                show-word-limit
 |  |                show-word-limit
 | 
											
												
													
														|  |              />
 |  |              />
 | 
											
												
													
														|  |            </template>
 |  |            </template>
 | 
											
										
											
												
													
														|  | @@ -545,8 +565,10 @@
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |            <template slot-scope="scope">
 |  |            <template slot-scope="scope">
 | 
											
												
													
														|  |              <el-input
 |  |              <el-input
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 |  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 | 
											
												
													
														|  |                v-model="scope.row.fUnitprice"
 |  |                v-model="scope.row.fUnitprice"
 | 
											
												
													
														|  | 
 |  | +              @input="calculation(scope.row)"
 | 
											
												
													
														|  |                placeholder="单价"
 |  |                placeholder="单价"
 | 
											
												
													
														|  |                show-word-limit
 |  |                show-word-limit
 | 
											
												
													
														|  |              />
 |  |              />
 | 
											
										
											
												
													
														|  | @@ -561,6 +583,7 @@
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
												
													
														|  |            <template slot-scope="scope">
 |  |            <template slot-scope="scope">
 | 
											
												
													
														|  |              <el-input
 |  |              <el-input
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 |  |                oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 | 
											
												
													
														|  |                v-model="scope.row.fAmt"
 |  |                v-model="scope.row.fAmt"
 | 
											
												
													
														|  |                placeholder="金额"
 |  |                placeholder="金额"
 | 
											
										
											
												
													
														|  | @@ -580,7 +603,7 @@
 | 
											
												
													
														|  |                      deleteRoww(scope.$index, warehouseCrList)
 |  |                      deleteRoww(scope.$index, warehouseCrList)
 | 
											
												
													
														|  |                    "
 |  |                    "
 | 
											
												
													
														|  |                size="small"
 |  |                size="small"
 | 
											
												
													
														|  | -              :disabled="browseStatus"
 |  | 
 | 
											
												
													
														|  | 
 |  | +              :disabled="disabled"
 | 
											
												
													
														|  |              >移除
 |  |              >移除
 | 
											
												
													
														|  |              </el-button
 |  |              </el-button
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
										
											
												
													
														|  | @@ -592,20 +615,33 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  | -import { listCorps, preservation, submit, allInformation,single ,singleDeletion,listCorps_s,revokeContainerPort} from '@/api/jiGang'
 |  | 
 | 
											
												
													
														|  | -import { listFees } from '@/api/basicdata/fees'
 |  | 
 | 
											
												
													
														|  | 
 |  | +import {
 | 
											
												
													
														|  | 
 |  | +  listCorps,
 | 
											
												
													
														|  | 
 |  | +  preservation,
 | 
											
												
													
														|  | 
 |  | +  submit,
 | 
											
												
													
														|  | 
 |  | +  allInformation,
 | 
											
												
													
														|  | 
 |  | +  single,
 | 
											
												
													
														|  | 
 |  | +  singleDeletion,
 | 
											
												
													
														|  | 
 |  | +  listCorps_s,
 | 
											
												
													
														|  | 
 |  | +  revokeContainerPort
 | 
											
												
													
														|  | 
 |  | +} from '@/api/jiGang'
 | 
											
												
													
														|  | 
 |  | +import {listFees} from '@/api/basicdata/fees'
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: 'jiGang',
 |  |    name: 'jiGang',
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  | 
 |  | +      rules:{
 | 
											
												
													
														|  | 
 |  | +        fBsdate:[{required: true, message: ' ', trigger: 'blur'}],
 | 
											
												
													
														|  | 
 |  | +        fMblno:[{required: true, message: ' ', trigger: 'blur'}]
 | 
											
												
													
														|  | 
 |  | +      },
 | 
											
												
													
														|  |        showSearch: true,
 |  |        showSearch: true,
 | 
											
												
													
														|  |        jiGang: false,
 |  |        jiGang: false,
 | 
											
												
													
														|  | -      disabled:false,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      disabled: false,
 | 
											
												
													
														|  |        agreementList: [],
 |  |        agreementList: [],
 | 
											
												
													
														|  |        warehouseCrList: [],
 |  |        warehouseCrList: [],
 | 
											
												
													
														|  |        fCNameOptions: [],
 |  |        fCNameOptions: [],
 | 
											
												
													
														|  | -      fFeeid_s:[],
 |  | 
 | 
											
												
													
														|  | 
 |  | +      fFeeid_s: [],
 | 
											
												
													
														|  |        fStltypeOptions: [],
 |  |        fStltypeOptions: [],
 | 
											
												
													
														|  |        jFeetunitOptions: [],
 |  |        jFeetunitOptions: [],
 | 
											
												
													
														|  |        KHblnoOptions: [],
 |  |        KHblnoOptions: [],
 | 
											
										
											
												
													
														|  | @@ -615,29 +651,29 @@ export default {
 | 
											
												
													
														|  |        businessTypeOption: [],
 |  |        businessTypeOption: [],
 | 
											
												
													
														|  |        loading: true,
 |  |        loading: true,
 | 
											
												
													
														|  |        blnoOptions: [],
 |  |        blnoOptions: [],
 | 
											
												
													
														|  | -      single:true,
 |  | 
 | 
											
												
													
														|  | -      total:0,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      single: true,
 | 
											
												
													
														|  | 
 |  | +      total: 0,
 | 
											
												
													
														|  |        query: {
 |  |        query: {
 | 
											
												
													
														|  |          pageNum: 1,
 |  |          pageNum: 1,
 | 
											
												
													
														|  |          pageSize: 10
 |  |          pageSize: 10
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  | -      selection:[],
 |  | 
 | 
											
												
													
														|  | 
 |  | +      selection: [],
 | 
											
												
													
														|  |        queryParams: {}
 |  |        queryParams: {}
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
												
													
														|  |      allInformation().then(res => {
 |  |      allInformation().then(res => {
 | 
											
												
													
														|  |        console.log(res)
 |  |        console.log(res)
 | 
											
												
													
														|  | -      if(res.data.corpList){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (res.data.corpList) {
 | 
											
												
													
														|  |          this.KHblnoOptions = res.data.corpList
 |  |          this.KHblnoOptions = res.data.corpList
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      if(res.data.pierList){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (res.data.pierList) {
 | 
											
												
													
														|  |          this.businessTypeOption = res.data.pierList
 |  |          this.businessTypeOption = res.data.pierList
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      if(res.data.cntrList){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (res.data.cntrList) {
 | 
											
												
													
														|  |          this.jFeetunitOptions = res.data.cntrList
 |  |          this.jFeetunitOptions = res.data.cntrList
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      if(res.data.fees){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (res.data.fees) {
 | 
											
												
													
														|  |          this.fFeeid_s = res.data.fees
 |  |          this.fFeeid_s = res.data.fees
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
										
											
												
													
														|  | @@ -666,7 +702,7 @@ export default {
 | 
											
												
													
														|  |        if (name == null || name === '') {
 |  |        if (name == null || name === '') {
 | 
											
												
													
														|  |          return false
 |  |          return false
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      let queryParams = { pageNum: 1, fName: name, type: 1 }
 |  | 
 | 
											
												
													
														|  | 
 |  | +      let queryParams = {pageNum: 1, fName: name, type: 1}
 | 
											
												
													
														|  |        listCorps(queryParams).then((response) => {
 |  |        listCorps(queryParams).then((response) => {
 | 
											
												
													
														|  |          console.log(response)
 |  |          console.log(response)
 | 
											
												
													
														|  |          this.fMblnoOptions = response.rows
 |  |          this.fMblnoOptions = response.rows
 | 
											
										
											
												
													
														|  | @@ -701,37 +737,37 @@ export default {
 | 
											
												
													
														|  |      handleSelectionChange(selection) {
 |  |      handleSelectionChange(selection) {
 | 
											
												
													
														|  |        console.log(selection)
 |  |        console.log(selection)
 | 
											
												
													
														|  |        this.selection = selection
 |  |        this.selection = selection
 | 
											
												
													
														|  | -      if (selection.length === 1){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (selection.length === 1) {
 | 
											
												
													
														|  |          this.single = false
 |  |          this.single = false
 | 
											
												
													
														|  | -      }else {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      } else {
 | 
											
												
													
														|  |          this.single = true
 |  |          this.single = true
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    handleUpdate(row){
 |  | 
 | 
											
												
													
														|  | 
 |  | +    handleUpdate(row) {
 | 
											
												
													
														|  |        let fId
 |  |        let fId
 | 
											
												
													
														|  | -      if (this.selection.length == 1){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (this.selection.length == 1) {
 | 
											
												
													
														|  |          fId = this.selection[0].fId
 |  |          fId = this.selection[0].fId
 | 
											
												
													
														|  | -      }else {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      } else {
 | 
											
												
													
														|  |          fId = row.fId
 |  |          fId = row.fId
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      single(fId).then(res =>{
 |  | 
 | 
											
												
													
														|  | -        if (res.code === 200){
 |  | 
 | 
											
												
													
														|  | 
 |  | +      single(fId).then(res => {
 | 
											
												
													
														|  | 
 |  | +        if (res.code === 200) {
 | 
											
												
													
														|  |            this.jiGang = true
 |  |            this.jiGang = true
 | 
											
												
													
														|  |            this.queryParams = res.data.warehouseBills
 |  |            this.queryParams = res.data.warehouseBills
 | 
											
												
													
														|  |            this.warehouseDrList = res.data.feesDrList
 |  |            this.warehouseDrList = res.data.feesDrList
 | 
											
												
													
														|  |            this.warehouseCrList = res.data.feesCrList
 |  |            this.warehouseCrList = res.data.feesCrList
 | 
											
												
													
														|  | -          this.warehouseDrList.fFeeUnitid = this.warehouseDrList.fFeeUnitid +''
 |  | 
 | 
											
												
													
														|  | -          this.warehouseCrList.fFeeUnitid = this.warehouseCrList.fFeeUnitid +''
 |  | 
 | 
											
												
													
														|  | -          if (this.queryParams.fBillstatus !== 2){
 |  | 
 | 
											
												
													
														|  | 
 |  | +          this.warehouseDrList.fFeeUnitid = this.warehouseDrList.fFeeUnitid + ''
 | 
											
												
													
														|  | 
 |  | +          this.warehouseCrList.fFeeUnitid = this.warehouseCrList.fFeeUnitid + ''
 | 
											
												
													
														|  | 
 |  | +          if (this.queryParams.fBillstatus !== 2) {
 | 
											
												
													
														|  |              this.disabled = true
 |  |              this.disabled = true
 | 
											
												
													
														|  | -          }else {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          } else {
 | 
											
												
													
														|  |              this.disabled = false
 |  |              this.disabled = false
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    handleDelete(row){
 |  | 
 | 
											
												
													
														|  | -      singleDeletion(row.fId).then(res =>{
 |  | 
 | 
											
												
													
														|  | 
 |  | +    handleDelete(row) {
 | 
											
												
													
														|  | 
 |  | +      singleDeletion(row.fId).then(res => {
 | 
											
												
													
														|  |          console.log(res)
 |  |          console.log(res)
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -749,10 +785,10 @@ export default {
 | 
											
												
													
														|  |          fQty: '',
 |  |          fQty: '',
 | 
											
												
													
														|  |          fUnitprice: '',
 |  |          fUnitprice: '',
 | 
											
												
													
														|  |          fAmt: '',
 |  |          fAmt: '',
 | 
											
												
													
														|  | -        fFeeid:''
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fFeeid: ''
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |        this.fWbuOptions = []
 |  |        this.fWbuOptions = []
 | 
											
												
													
														|  | -      let queryParams = { pageNum: 1, fDc: 'C' }
 |  | 
 | 
											
												
													
														|  | 
 |  | +      let queryParams = {pageNum: 1, fDc: 'C'}
 | 
											
												
													
														|  |        listFees(queryParams).then((response) => {
 |  |        listFees(queryParams).then((response) => {
 | 
											
												
													
														|  |          this.fCNameOptions = response.rows
 |  |          this.fCNameOptions = response.rows
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
										
											
												
													
														|  | @@ -764,40 +800,60 @@ export default {
 | 
											
												
													
														|  |        rows.splice(index, 1)
 |  |        rows.splice(index, 1)
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      submitForm() {
 |  |      submitForm() {
 | 
											
												
													
														|  | -      let formDatae = new window.FormData()
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesCr', JSON.stringify(this.warehouseDrList))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesDr', JSON.stringify(this.warehouseCrList))
 |  | 
 | 
											
												
													
														|  | -      preservation(formDatae).then(res => {
 |  | 
 | 
											
												
													
														|  | -        console.log(res)
 |  | 
 | 
											
												
													
														|  | -        if (res.code === 200){
 |  | 
 | 
											
												
													
														|  | -          this.$message.success('保存成功');
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$refs["rules"].validate((valid) => {
 | 
											
												
													
														|  | 
 |  | +        if (valid) {
 | 
											
												
													
														|  | 
 |  | +          let formDatae = new window.FormData()
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesDr', JSON.stringify(this.warehouseDrList))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesCr', JSON.stringify(this.warehouseCrList))
 | 
											
												
													
														|  | 
 |  | +          preservation(formDatae).then(res => {
 | 
											
												
													
														|  | 
 |  | +            console.log(res)
 | 
											
												
													
														|  | 
 |  | +            if (res.code === 200) {
 | 
											
												
													
														|  | 
 |  | +              this.$message.success('保存成功');
 | 
											
												
													
														|  | 
 |  | +              this.jiGang = false
 | 
											
												
													
														|  | 
 |  | +            }
 | 
											
												
													
														|  | 
 |  | +          })
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | -      })
 |  | 
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      submit() {
 |  |      submit() {
 | 
											
												
													
														|  | -      let formDatae = new window.FormData()
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesCr', JSON.stringify(this.warehouseDrList))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesDr', JSON.stringify(this.warehouseCrList))
 |  | 
 | 
											
												
													
														|  | -      submit(formDatae).then(res => {
 |  | 
 | 
											
												
													
														|  | -        console.log(res)
 |  | 
 | 
											
												
													
														|  | -        if(res.code === 200){
 |  | 
 | 
											
												
													
														|  | -          this.$message.success('提交成功');
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$refs["rules"].validate((valid) => {
 | 
											
												
													
														|  | 
 |  | +        if (valid) {
 | 
											
												
													
														|  | 
 |  | +          let formDatae = new window.FormData()
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesDr', JSON.stringify(this.warehouseDrList))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesCr', JSON.stringify(this.warehouseCrList))
 | 
											
												
													
														|  | 
 |  | +          submit(formDatae).then(res => {
 | 
											
												
													
														|  | 
 |  | +            console.log(res)
 | 
											
												
													
														|  | 
 |  | +            if (res.code === 200) {
 | 
											
												
													
														|  | 
 |  | +              this.$message.success('提交成功');
 | 
											
												
													
														|  | 
 |  | +              this.jiGang = false
 | 
											
												
													
														|  | 
 |  | +            }
 | 
											
												
													
														|  | 
 |  | +          })
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | -      })
 |  | 
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    cancellation(){
 |  | 
 | 
											
												
													
														|  | -      let formDatae = new window.FormData()
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesCr', JSON.stringify(this.warehouseDrList))
 |  | 
 | 
											
												
													
														|  | -      formDatae.append('feesDr', JSON.stringify(this.warehouseCrList))
 |  | 
 | 
											
												
													
														|  | -      revokeContainerPort(formDatae).then(res => {
 |  | 
 | 
											
												
													
														|  | -        console.log(res)
 |  | 
 | 
											
												
													
														|  | -        if(res.code === 200){
 |  | 
 | 
											
												
													
														|  | -          this.$message.success('撤销成功');
 |  | 
 | 
											
												
													
														|  | 
 |  | +    cancellation() {
 | 
											
												
													
														|  | 
 |  | +      this.$refs["rules"].validate((valid) => {
 | 
											
												
													
														|  | 
 |  | +        if (valid) {
 | 
											
												
													
														|  | 
 |  | +          let formDatae = new window.FormData()
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('warehouseBills', JSON.stringify(this.queryParams))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesDr', JSON.stringify(this.warehouseDrList))
 | 
											
												
													
														|  | 
 |  | +          formDatae.append('feesCr', JSON.stringify(this.warehouseCrList))
 | 
											
												
													
														|  | 
 |  | +          revokeContainerPort(formDatae).then(res => {
 | 
											
												
													
														|  | 
 |  | +            console.log(res)
 | 
											
												
													
														|  | 
 |  | +            if (res.code === 200) {
 | 
											
												
													
														|  | 
 |  | +              this.$message.success('撤销成功');
 | 
											
												
													
														|  | 
 |  | +            }
 | 
											
												
													
														|  | 
 |  | +          })
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | -      })
 |  | 
 | 
											
												
													
														|  | 
 |  | +      });
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +    calculation(row) {
 | 
											
												
													
														|  | 
 |  | +      console.log(row)
 | 
											
												
													
														|  | 
 |  | +      if (row.fQty && row.fUnitprice) {
 | 
											
												
													
														|  | 
 |  | +        row.fAmt = Number(row.fQty) * Number(row.fUnitprice)
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      addCollection() {
 |  |      addCollection() {
 | 
											
												
													
														|  |        this.warehouseDrList.push({
 |  |        this.warehouseDrList.push({
 | 
											
										
											
												
													
														|  | @@ -807,17 +863,17 @@ export default {
 | 
											
												
													
														|  |          fQty: '',
 |  |          fQty: '',
 | 
											
												
													
														|  |          fUnitprice: '',
 |  |          fUnitprice: '',
 | 
											
												
													
														|  |          fAmt: '',
 |  |          fAmt: '',
 | 
											
												
													
														|  | -        fFeeid:''
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fFeeid: ''
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |        this.fWbuOptions = []
 |  |        this.fWbuOptions = []
 | 
											
												
													
														|  | -      let queryParams = { pageNum: 1, fDc: 'D' }
 |  | 
 | 
											
												
													
														|  | 
 |  | +      let queryParams = {pageNum: 1, fDc: 'D'}
 | 
											
												
													
														|  |        listFees(queryParams).then((response) => {
 |  |        listFees(queryParams).then((response) => {
 | 
											
												
													
														|  |          this.fDNameOptions = response.rows
 |  |          this.fDNameOptions = response.rows
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      // 付款合计
 |  |      // 付款合计
 | 
											
												
													
														|  |      warehouseDrSummaries(param) {
 |  |      warehouseDrSummaries(param) {
 | 
											
												
													
														|  | -      const { columns, data } = param
 |  | 
 | 
											
												
													
														|  | 
 |  | +      const {columns, data} = param
 | 
											
												
													
														|  |        const sums = []
 |  |        const sums = []
 | 
											
												
													
														|  |        columns.forEach((column, index) => {
 |  |        columns.forEach((column, index) => {
 | 
											
												
													
														|  |          if (index === 0) {
 |  |          if (index === 0) {
 |