| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876 | 
							- <template>
 
- <div class="app-container">
 
-   <el-form
 
-     :model="queryParams"
 
-     ref="queryForm"
 
-     :inline="true"
 
-     label-width="88px"
 
-   >
 
-     <el-row>
 
-       <el-form-item label="日期" prop="fBsdate">
 
-         <el-input
 
-           v-model="queryParams.fBsdate"
 
-           placeholder="请输入日期"
 
-           clearable
 
-           size="small"
 
-         />
 
-       </el-form-item>
 
-       <el-form-item label="提单号" prop="fMblno">
 
-         <el-input
 
-           v-model="queryParams.fMblno"
 
-           placeholder="请输入提单号"
 
-           clearable
 
-           size="small"
 
-         />
 
-       </el-form-item>
 
-       <el-form-item label="制单人" prop="createBy">
 
-         <el-input
 
-           v-model="queryParams.createBy"
 
-           placeholder="请输入制单人"
 
-           clearable
 
-           size="small"
 
-         />
 
-       </el-form-item>
 
-     </el-row>
 
-   </el-form>
 
-   <h3><i class="el-icon-circle-plus"></i>收款信息</h3>
 
-   <div
 
-     class="dialogTableTitle flex a-center jlr"
 
-     style="
 
-               display: flex;
 
-               justify-content: space-between;
 
-               align-items: center;
 
-               margin: 10px 0;
 
-             "
 
-   >
 
-     <div>
 
-       <el-button
 
-         size="small"
 
-         type="primary"
 
-         @click.prevent="addCollection()"
 
-       >新行
 
-       </el-button>
 
-       <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
 
-       >删除
 
-     </el-button> -->
 
-       <el-button
 
-         type="primary"
 
-         size="small"
 
-         @click="submitForm(2)"
 
-       >保 存</el-button
 
-       >
 
-     </div>
 
-   </div>
 
-   <el-table
 
-     :data="warehouseDrList"
 
-     ref="table"
 
-     tooltip-effect="dark"
 
-     border
 
-     stripe
 
-     show-summary
 
-     @selection-change="Collectionoptions"
 
-     :summary-method="warehouseDrSummaries"
 
-   >
 
-     <el-table-column type="selection" width="55" align="center" />
 
-     <el-table-column label="序号" type="index" width="80">
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fCorpid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="客户名称"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fCorpid"
 
-           filterable
 
-           remote
 
-           :remote-method="corpsRemoteMethod"
 
-           placeholder="客户名称"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in KHblnoOptions"
 
-             :key="index.fId"
 
-             :label="dict.fName"
 
-             :value="dict.fId"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fFeeid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="费用名称"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fFeeid"
 
-           filterable
 
-           remote
 
-           :remote-method="fWRemoteMethod"
 
-           @change="changeFeeId(scope.row)"
 
-           placeholder="费用名称"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in fDNameOptions"
 
-             :key="index.fId"
 
-             :label="dict.fName"
 
-             :value="dict.fId"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fBusinessType"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="作业类型"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           style="width: 80%"
 
-           v-model="scope.row.fBusinessType"
 
-           filterable
 
-           disabled
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in businessTypeOption"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="dict.dictValue"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fFeeUnitid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="计价单位"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fFeeUnitid"
 
-           placeholder="请选择计价单位"
 
-           @change="changeFeeUnit(scope.row)"
 
-           clearable
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in jFeetunitOptions"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="dict.dictValue"
 
-           />
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fQty"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="数量"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fQty"
 
-           placeholder="数量"
 
-           @change="changeContractAmt(scope.row)"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fUnitprice"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="单价"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fUnitprice"
 
-           placeholder="单价"
 
-           @change="changeContractAmt(scope.row)"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fAmount"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="金额"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           disabled
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fAmount"
 
-           placeholder="金额"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fStltypeid"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="结算方式"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fStltypeid"
 
-           placeholder="请选择结算表票结、月结"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in fStltypeOptions"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="parseInt(dict.dictValue)"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fCurrency"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="币别"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fCurrency"
 
-           placeholder="币别"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fExrate"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="汇率"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fExrate"
 
-           placeholder="汇率"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fTaxrate"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="税率"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fTaxrate"
 
-           :disabled="browseStatus"
 
-           placeholder="税率"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fMblno"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="提单号"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fMblno"
 
-           :disabled="browseStatus"
 
-           placeholder="提单号"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fProductName"
 
-       header-align="center"
 
-       align="center"
 
-       width="140px"
 
-       label="品名"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fProductName"
 
-           :disabled="browseStatus"
 
-           placeholder="品名"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fMarks"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="品牌"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fMarks"
 
-           :disabled="browseStatus"
 
-           placeholder="品牌"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fSrcTypeId"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="来源"
 
-     >
 
-       <template slot-scope="scope">
 
-         <span v-if="scope.row.fSrcTypeId === 0">录入</span>
 
-         <span v-if="scope.row.fSrcTypeId !== 0">协议</span>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="remarks"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="备注"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.Remarks"
 
-           :disabled="browseStatus"
 
-           placeholder="备注"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       header-align="center"
 
-       align="center"
 
-       label="操作"
 
-       width="200px"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-button
 
-           @click.native.prevent="
 
-                     deleteRow(scope.$index, warehouseDrList)
 
-                   "
 
-           size="small"
 
-           :disabled="browseStatus"
 
-         >移除</el-button
 
-         >
 
-       </template>
 
-     </el-table-column>
 
-   </el-table>
 
-   <h3><i class="el-icon-remove"></i>付款信息</h3>
 
-   <div
 
-     class="dialogTableTitle flex a-center jlr"
 
-     style="
 
-               display: flex;
 
-               justify-content: space-between;
 
-               align-items: center;
 
-               margin: 10px 0;
 
-             "
 
-   >
 
-     <div>
 
-       <el-button
 
-         type="primary"
 
-         @click.prevent="addpayment()"
 
-         size="small"
 
-       >新行
 
-       </el-button>
 
-       <el-button
 
-         type="primary"
 
-         size="small"
 
-       >保 存</el-button
 
-       >
 
-     </div>
 
-   </div>
 
-   <el-table
 
-     :data="warehouseCrList"
 
-     ref="table"
 
-     tooltip-effect="dark"
 
-     border
 
-     stripe
 
-     show-summary
 
-     :summary-method="warehouseDrSummaries"
 
-   >
 
-     <el-table-column type="selection" width="55" align="center" />
 
-     <el-table-column label="序号" type="index" width="80">
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fCorpid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="客户名称"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fCorpid"
 
-           filterable
 
-           remote
 
-           :disabled="browseStatus"
 
-           :remote-method="corpsRemoteMethod"
 
-           placeholder="客户名称"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in KHblnoOptions"
 
-             :key="index.fId"
 
-             :label="dict.fName"
 
-             :value="dict.fId"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fFeeid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="费用名称"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fFeeid"
 
-           filterable
 
-           :disabled="browseStatus"
 
-           remote
 
-           :remote-method="fWRemoteMethod"
 
-           @change="changeFeeId(scope.row)"
 
-           placeholder="费用名称"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in fCNameOptions"
 
-             :key="index.fId"
 
-             :label="dict.fName"
 
-             :value="dict.fId"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fBusinessType"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="作业类型"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           style="width: 80%"
 
-           v-model="scope.row.fBusinessType"
 
-           filterable
 
-           disabled
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in businessTypeOption"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="dict.dictValue"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fFeeUnitid"
 
-       header-align="center"
 
-       align="center"
 
-       width="180px"
 
-       label="计价单位"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fFeeUnitid"
 
-           filterable
 
-           remote
 
-           @change="changeFeeUnit(scope.row)"
 
-           :disabled="browseStatus"
 
-           :remote-method="corpsRemoteMethod"
 
-           placeholder="计价单位"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in jFeetunitOptions"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="dict.dictValue"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fQty"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="数量"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fQty"
 
-           :disabled="browseStatus"
 
-           @change="changeContractAmt(scope.row)"
 
-           placeholder="数量"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fUnitprice"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="单价"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fUnitprice"
 
-           :disabled="browseStatus || scope.row.fSrcTypeId !== 0"
 
-           @change="changeContractAmt(scope.row)"
 
-           placeholder="单价"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fAmount"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="金额"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           disabled
 
-           oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
 
-           v-model="scope.row.fAmount"
 
-           placeholder="金额"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fStltypeid"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="结算方式"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-select
 
-           v-model="scope.row.fStltypeid"
 
-           placeholder="请选择结算表票结、月结"
 
-           :disabled="browseStatus"
 
-         >
 
-           <el-option
 
-             v-for="(dict, index) in fStltypeOptions"
 
-             :key="index.dictValue"
 
-             :label="dict.dictLabel"
 
-             :value="parseInt(dict.dictValue)"
 
-           ></el-option>
 
-         </el-select>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fCurrency"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="币别"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fCurrency"
 
-           :disabled="browseStatus"
 
-           placeholder="币别"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fExrate"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="汇率"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fExrate"
 
-           :disabled="browseStatus"
 
-           placeholder="汇率"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fTaxrate"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="税率"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fTaxrate"
 
-           :disabled="browseStatus"
 
-           placeholder="税率"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fMblno"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="提单号"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fMblno"
 
-           :disabled="browseStatus"
 
-           placeholder="提单号"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fProductName"
 
-       header-align="center"
 
-       align="center"
 
-       width="140px"
 
-       label="品名"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fProductName"
 
-           :disabled="browseStatus"
 
-           placeholder="品名"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fMarks"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="品牌"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.fMarks"
 
-           :disabled="browseStatus"
 
-           placeholder="品牌"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="fSrcTypeId"
 
-       header-align="center"
 
-       align="center"
 
-       width="130px"
 
-       label="来源"
 
-     >
 
-       <template slot-scope="scope">
 
-         <span v-if="scope.row.fSrcTypeId === 0">录入</span>
 
-         <span v-if="scope.row.fSrcTypeId !== 0">协议</span>
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       prop="remarks"
 
-       header-align="center"
 
-       align="center"
 
-       width="150px"
 
-       label="备注"
 
-     >
 
-       <template slot-scope="scope">
 
-         <el-input
 
-           v-model="scope.row.remarks"
 
-           :disabled="browseStatus"
 
-           placeholder="备注"
 
-           show-word-limit
 
-         />
 
-       </template>
 
-     </el-table-column>
 
-     <el-table-column
 
-       header-align="center"
 
-       align="center"
 
-       width="200px"
 
-       label="操作"
 
-     >
 
-       <template slot-scope="scope">
 
-         <!-- <el-button size="small">审核费用</el-button> -->
 
-         <el-button
 
-           @click.native.prevent="
 
-                     deleteRoww(scope.$index, warehouseCrList)
 
-                   "
 
-           size="small"
 
-           :disabled="browseStatus"
 
-         >移除</el-button
 
-         >
 
-       </template>
 
-     </el-table-column>
 
-   </el-table>
 
- </div>
 
- </template>
 
- <script>
 
- import { listFees } from '@/api/basicdata/fees'
 
- import { listCorps } from '@/api/basicdata/corps'
 
- export default {
 
-   name: 'jigangeject',
 
-   data() {
 
-     return {
 
-       queryParams:[],
 
-       warehouseCrList:[],
 
-       fCNameOptions:[],
 
-       jFeetunitOptions:[],
 
-       browseStatus:false,
 
-       fDNameOptions:[],
 
-       warehouseDrList:[]
 
-     }
 
-   },
 
-   created() {
 
-     this.getDicts("data_unitfees").then((response) => {
 
-       if (response.data) {
 
-         this.jFeetunitOptions = response.data;
 
-       }
 
-     });
 
-   },
 
-   methods: {
 
-     addpayment() {
 
-       this.warehouseCrList.push({
 
-         fCorpid: null,
 
-         fFeeid: null,
 
-         fFeeUnitid: "",
 
-         fQty: null,
 
-         fUnitprice: null,
 
-         fAmount: null,
 
-         fCurrency: "RMB",
 
-         fExrate: "1",
 
-         fTaxrate: '',
 
-         fCxrate: null,
 
-         fRate: null,
 
-         remarks: null,
 
-         fMblno: '',
 
-         fProductName: '',
 
-         fMarks: '',
 
-         fBusinessType: '',
 
-         fSrcTypeId: 0,
 
-       });
 
-       this.fWbuOptions = [];
 
-       let queryParams = { pageNum: 1, fDc: "C" };
 
-       listFees(queryParams).then((response) => {
 
-         this.fCNameOptions = response.rows;
 
-       });
 
-     },
 
-     addCollection() {
 
-       this.warehouseDrList.push({
 
-         fCorpid: null,
 
-         fFeeid: null,
 
-         fFeeUnitid: "",
 
-         fQty: null,
 
-         fUnitprice: null,
 
-         fAmount: null,
 
-         fCurrency: "RMB",
 
-         fExrate: "1",
 
-         fTaxrate: '',
 
-         fCxrate: null,
 
-         fRate: null,
 
-         remarks: null,
 
-         fMblno: '',
 
-         fProductName: '',
 
-         fMarks: '',
 
-         fBusinessType: '',
 
-         fSrcTypeId: 0,
 
-       });
 
-       this.fWbuOptions = [];
 
-       let queryParams = { pageNum: 1, fDc: "D" };
 
-       listFees(queryParams).then((response) => {
 
-         this.fDNameOptions = response.rows;
 
-       });
 
-     },
 
-     // 付款合计
 
-     warehouseDrSummaries(param) {
 
-       const { columns, data } = param;
 
-       const sums = [];
 
-       columns.forEach((column, index) => {
 
-         if (index === 0) {
 
-           sums[index] = "合计";
 
-           return;
 
-         }
 
-         const values = data.map((item) => Number(item[column.property]));
 
-         if (
 
-           column.property === "fUnitprice" ||
 
-           column.property === "fAmount" ||
 
-           column.property === "fQty" ||
 
-           column.property === "fQty"
 
-         ) {
 
-           sums[index] = values.reduce((prev, curr) => {
 
-             const value = Number(curr);
 
-             if (!isNaN(value)) {
 
-               return prev + curr;
 
-             } else {
 
-               return prev;
 
-             }
 
-           }, 0);
 
-           sums[index] = sums[index].toFixed(2);
 
-         }
 
-       });
 
-       return sums;
 
-     },
 
-     Collectionoptions(selection) {
 
-       this.Collectionoptionss = selection;
 
-       for (let lest in this.fWbuOptions) {
 
-         for (let li in this.Collectionoptionss) {
 
-           if (
 
-             this.fWbuOptions[lest].fId === this.Collectionoptionss[li].fFeeid
 
-           ) {
 
-             this.$set(
 
-               this.Collectionoptionss[li],
 
-               "fFeeids",
 
-               this.fWbuOptions[lest].fName
 
-             );
 
-           }
 
-         }
 
-       }
 
-     },
 
-   }
 
- }
 
- </script>
 
- <style scoped>
 
- </style>
 
 
  |