Commit bd36b63d authored by zs嵩's avatar zs嵩

按订单值调整为-1

parent 7bc4911a
......@@ -30,8 +30,8 @@
</el-table-column>
<el-table-column :label="$t('付款人')" minWidth="120" align="center">
<template slot-scope="{ row, $index }">
<dict-tag :type="DICT_TYPE.DRAWEE" :filter="payerDictFilter" :value="row.payer" v-if="row.payer !== ''" />
<span v-else>按订单</span>
<span v-if="row.payer === -1">按订单</span>
<dict-tag :type="DICT_TYPE.DRAWEE" :filter="payerDictFilter" :value="row.payer" v-else />
</template>
</el-table-column>
<el-table-column :label="$t('计量单位')" minWidth="120" align="center">
......
......@@ -34,7 +34,7 @@
<el-table-column :label="$t('付款人')">
<template slot-scope="{ row, $index }">
<dict-selector :type="DICT_TYPE.DRAWEE" :filter="payerDictFilter" v-model="row.payer" @change="batchUpdateField($index, 'payer')">
<el-option :label="$t('按订单')" value="" />
<el-option :label="$t('按订单')" :value="-1" />
</dict-selector>
</template>
</el-table-column>
......@@ -323,7 +323,7 @@ export default {
batchUpdateField(index, field) {
this.$nextTick(() => {
let cval = this.batchApplyDetailsInfoVO.feeDetailsVOList[index][field]
if (field === "payer" && cval === "") {
if (field === "payer" && cval === -1) {
this.batchApplyDetailsInfoVO.orderFeeDetailsVOList.forEach((item, i) => {
let ITEM = item.orderFeeApplicationBaseVOList[index]
if (item.drawee === 3) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment