|
@@ -117,6 +117,7 @@
|
|
|
</div>
|
|
|
<div style="margin: 0 10px;float: right">
|
|
|
<el-button
|
|
|
+ v-if="true"
|
|
|
icon="el-icon-setting"
|
|
|
size="mini"
|
|
|
circle
|
|
@@ -137,304 +138,485 @@
|
|
|
<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="300px"
|
|
|
- label="客户名称"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-select
|
|
|
- v-model="scope.row.fCorpid"
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- placeholder="客户名称"
|
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fMblnoOptions"
|
|
|
- :key="index.fId"
|
|
|
- :label="item.fName"
|
|
|
- :value="item.fId"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="fFeeid"
|
|
|
- header-align="center"
|
|
|
+ v-for="(item, index) in getRowList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.name"
|
|
|
+ :width="item.width"
|
|
|
+ :prop="item.label"
|
|
|
align="center"
|
|
|
- width="240px"
|
|
|
- label="费用名称"
|
|
|
+ :fixed="item.fixed"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ sortable
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-select
|
|
|
- v-model="scope.row.fFeeid"
|
|
|
- clearable
|
|
|
- filterable
|
|
|
- placeholder="费用名称"
|
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fCNameOptions"
|
|
|
- :key="index.fId"
|
|
|
- :label="item.fName"
|
|
|
- :value="item.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="(item, index) in businessTypeOption"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.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="请选择计价单位"
|
|
|
- clearable
|
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
- @change="changeFeeUnit(scope.row)"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fFeetUnitOptions"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
+ <span v-if="item.label == 'fCorpid'">
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.fCorpid"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ placeholder="客户名称"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in fMblnoOptions"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fId"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fFeeid'">
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.fFeeid"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ placeholder="费用名称"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in fCNameOptions"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fId"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fBusinessType'">
|
|
|
+ <el-select
|
|
|
+ style="width: 80%"
|
|
|
+ v-model="scope.row.fBusinessType"
|
|
|
+ filterable
|
|
|
+ disabled
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in businessTypeOption"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fFeeUnitid'">
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.fFeeUnitid"
|
|
|
+ placeholder="请选择计价单位"
|
|
|
+ clearable
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ @change="changeFeeUnit(scope.row)"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in fFeetUnitOptions"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fQty'">
|
|
|
+ <el-input
|
|
|
+ oninput='this.value=this.value.replace(/[^0-9.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d).*$/,"$1$2.$3")'
|
|
|
+ v-model="scope.row.fQty"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ @change="changeContractAmt(scope.row)"
|
|
|
+ placeholder="数量"
|
|
|
+ show-word-limit
|
|
|
/>
|
|
|
- </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(/[^0-9.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d).*$/,"$1$2.$3")'
|
|
|
- v-model="scope.row.fQty"
|
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
- @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 || scope.row.fBillstatus == 6"
|
|
|
- @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 || scope.row.fBillstatus == 6"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fStltypeOptions"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fUnitprice'">
|
|
|
+ <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 || scope.row.fBillstatus == 6"
|
|
|
+ @change="changeContractAmt(scope.row)"
|
|
|
+ placeholder="单价"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fAmount'">
|
|
|
+ <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
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fStltypeid'">
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.fStltypeid"
|
|
|
+ placeholder="请选择结算表票结、月结"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in fStltypeOptions"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fCurrency'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fCurrency"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="币别"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fExrate'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fExrate"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="汇率"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fTaxrate'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fTaxrate"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="税率"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fMblno'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fMblno"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="提单号"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fProductName'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fProductName"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="品名"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fMarks'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.fMarks"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="品牌"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'fSrcTypeId'">
|
|
|
+ <span v-if="scope.row.fSrcTypeId === 0">录入</span>
|
|
|
+ <span v-if="scope.row.fSrcTypeId == 1">协议</span>
|
|
|
+ <span v-if="scope.row.fSrcTypeId == 10">变更</span>
|
|
|
+ </span>
|
|
|
+ <span v-else-if="item.label == 'remark'">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.remark"
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
+ placeholder="备注"
|
|
|
+ show-word-limit
|
|
|
+ />
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+<!-- <el-table-column-->
|
|
|
+<!-- prop="fCorpid"-->
|
|
|
+<!-- header-align="center"-->
|
|
|
+<!-- align="center"-->
|
|
|
+<!-- width="300px"-->
|
|
|
+<!-- label="客户名称"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="scope.row.fCorpid"-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- clearable-->
|
|
|
+<!-- placeholder="客户名称"-->
|
|
|
+<!-- :disabled="browseStatus || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(item, index) in fMblnoOptions"-->
|
|
|
+<!-- :key="index.fId"-->
|
|
|
+<!-- :label="item.fName"-->
|
|
|
+<!-- :value="item.fId"-->
|
|
|
+<!-- ></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column-->
|
|
|
+<!-- prop="fFeeid"-->
|
|
|
+<!-- header-align="center"-->
|
|
|
+<!-- align="center"-->
|
|
|
+<!-- width="240px"-->
|
|
|
+<!-- label="费用名称"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="scope.row.fFeeid"-->
|
|
|
+<!-- clearable-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- placeholder="费用名称"-->
|
|
|
+<!-- :disabled="browseStatus || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(item, index) in fCNameOptions"-->
|
|
|
+<!-- :key="index.fId"-->
|
|
|
+<!-- :label="item.fName"-->
|
|
|
+<!-- :value="item.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="(item, index) in businessTypeOption"-->
|
|
|
+<!-- :key="index.dictValue"-->
|
|
|
+<!-- :label="item.dictLabel"-->
|
|
|
+<!-- :value="item.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 || scope.row.fBillstatus == 6"
|
|
|
- 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 || scope.row.fBillstatus == 6"
|
|
|
- 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 || scope.row.fBillstatus == 6"
|
|
|
- placeholder="税率"
|
|
|
- show-word-limit
|
|
|
- />
|
|
|
- </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="请选择计价单位"-->
|
|
|
+<!-- clearable-->
|
|
|
+<!-- :disabled="browseStatus || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- @change="changeFeeUnit(scope.row)"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(item, index) in fFeetUnitOptions"-->
|
|
|
+<!-- :key="index.dictValue"-->
|
|
|
+<!-- :label="item.dictLabel"-->
|
|
|
+<!-- :value="item.dictValue"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </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(/[^0-9.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d).*$/,"$1$2.$3")'-->
|
|
|
+<!-- v-model="scope.row.fQty"-->
|
|
|
+<!-- :disabled="browseStatus || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- @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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- @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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(item, index) in fStltypeOptions"-->
|
|
|
+<!-- :key="index.dictValue"-->
|
|
|
+<!-- :label="item.dictLabel"-->
|
|
|
+<!-- :value="item.dictValue"-->
|
|
|
+<!-- ></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </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 || scope.row.fBillstatus == 6"
|
|
|
- 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 || scope.row.fBillstatus == 6"
|
|
|
- placeholder="品名"
|
|
|
- show-word-limit
|
|
|
- />
|
|
|
- </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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 || scope.row.fBillstatus == 6"
|
|
|
- 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 == 1">协议</span>
|
|
|
- <span v-if="scope.row.fSrcTypeId == 10">变更</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="remark"
|
|
|
- header-align="center"
|
|
|
- align="center"
|
|
|
- width="150px"
|
|
|
- label="备注"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.remark"
|
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
- 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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- 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 == 1">协议</span>-->
|
|
|
+<!-- <span v-if="scope.row.fSrcTypeId == 10">变更</span>-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
+<!-- <el-table-column-->
|
|
|
+<!-- prop="remark"-->
|
|
|
+<!-- header-align="center"-->
|
|
|
+<!-- align="center"-->
|
|
|
+<!-- width="150px"-->
|
|
|
+<!-- label="备注"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
+<!-- <el-input-->
|
|
|
+<!-- v-model="scope.row.remark"-->
|
|
|
+<!-- :disabled="browseStatus || scope.row.fBillstatus == 6"-->
|
|
|
+<!-- placeholder="备注"-->
|
|
|
+<!-- show-word-limit-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-table-column>-->
|
|
|
<el-table-column
|
|
|
header-align="center"
|
|
|
align="center"
|
|
@@ -921,14 +1103,128 @@ export default {
|
|
|
showSetting: false,
|
|
|
setRowList: [],
|
|
|
getRowList: [],
|
|
|
- showfCustomno: null,
|
|
|
//自定义列宽
|
|
|
allCheck: false,
|
|
|
drag: false,
|
|
|
- tableDate: [],
|
|
|
+ tableDate: [
|
|
|
+ {
|
|
|
+ surface: "1",
|
|
|
+ label: "fCorpid",
|
|
|
+ name: "客户名称",
|
|
|
+ checked: 0,
|
|
|
+ width: 300,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "2",
|
|
|
+ label: "fFeeid",
|
|
|
+ name: "费用名称",
|
|
|
+ checked: 0,
|
|
|
+ width: 240,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "3",
|
|
|
+ label: "fFeeUnitid",
|
|
|
+ name: "计价单位",
|
|
|
+ checked: 0,
|
|
|
+ width: 130,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "4",
|
|
|
+ label: "fQty",
|
|
|
+ name: "数量",
|
|
|
+ checked: 0,
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "5",
|
|
|
+ label: "fUnitprice",
|
|
|
+ name: "单价",
|
|
|
+ checked: 0,
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "6",
|
|
|
+ label: "fAmount",
|
|
|
+ name: "金额",
|
|
|
+ checked: 0,
|
|
|
+ width: 130,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "7",
|
|
|
+ label: "fStltypeid",
|
|
|
+ name: "结算方式",
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "8",
|
|
|
+ label: "fCurrency",
|
|
|
+ name: "币别",
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "9",
|
|
|
+ label: "fExrate",
|
|
|
+ name: "汇率",
|
|
|
+ checked: 0,
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "10",
|
|
|
+ label: "fTaxrate",
|
|
|
+ name: "税率",
|
|
|
+ checked: 0,
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "11",
|
|
|
+ label: "fBusinessType",
|
|
|
+ name: "作业类型",
|
|
|
+ checked: 0,
|
|
|
+ width: 180,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "12",
|
|
|
+ label: "fMblno",
|
|
|
+ name: "提单号",
|
|
|
+ checked: 0,
|
|
|
+ width: 150,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "13",
|
|
|
+ label: "fProductName",
|
|
|
+ name: "品名",
|
|
|
+ checked: 0,
|
|
|
+ width: 140,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "14",
|
|
|
+ label: "fMarks",
|
|
|
+ name: "品牌",
|
|
|
+ checked: 0,
|
|
|
+ width: 130,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "15",
|
|
|
+ label: "fSrcTypeId",
|
|
|
+ name: "来源",
|
|
|
+ checked: 0,
|
|
|
+ width: 130,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "16",
|
|
|
+ label: "remark",
|
|
|
+ name: "备注",
|
|
|
+ checked: 0,
|
|
|
+ width: 150,
|
|
|
+ },
|
|
|
+ ],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.setRowList = this.tableDate;
|
|
|
+ this.getRowList = this.tableDate;
|
|
|
this.company = Cookies.get("companyName")
|
|
|
this.getConfigKey("taxpayer.identification.number").then((response) => {
|
|
|
this.Identifier = response.msg;
|
|
@@ -1194,6 +1490,7 @@ export default {
|
|
|
feesCheck(row.fId).then(res => {
|
|
|
this.$message.success('请核成功')
|
|
|
res.data.fFeeUnitid = res.data.fFeeunitid.toString();
|
|
|
+ res.data.fStltypeid = res.data.fStltypeid.toString();
|
|
|
if (res.data.fDc == 'D') {
|
|
|
let index = this.warehouseDrList.findIndex(item => item.fId == res.data.fId)
|
|
|
this.warehouseDrList.splice(index, 1, res.data)
|
|
@@ -1208,6 +1505,7 @@ export default {
|
|
|
revokefeeCheck(row.fId).then(res => {
|
|
|
this.$message.success('操作成功')
|
|
|
res.data.fFeeUnitid = res.data.fFeeunitid.toString();
|
|
|
+ res.data.fStltypeid = res.data.fStltypeid.toString();
|
|
|
if (res.data.fDc == 'D') {
|
|
|
let index = this.warehouseDrList.findIndex(item => item.fId == res.data.fId)
|
|
|
this.warehouseDrList.splice(index, 1, res.data)
|