This commit is contained in:
linfso 2024-07-31 10:55:07 +08:00
parent 637254b8f6
commit 08b5f5a627
4 changed files with 78 additions and 1714 deletions

View File

@ -601,7 +601,7 @@ export default {
this.updateTable()
this.initSort();
this.initKeyDown();
// this.initKeyDown();
this.tableDom=this.getTableDom();
},
methods: {
@ -698,15 +698,18 @@ export default {
if(selTplItem){
this.form=selTplItem;
this.curentTbShowTpl=selTplItem.tplCode;
this.initStorage();
this.updateTable();
}
// 检查字段描述
// console.log("===>initTbShowlList=2222=>",this.storeTplList);
// console.log("===>this.curentTbShowTpl=2222=>",this.curentTbShowTpl);
}
});
},
// 矫正模版数据
savaTbShowTpl(){
if(!this.form.tplName){
this.form.tplName='默认'
@ -1112,7 +1115,7 @@ export default {
})
// 必须在节点数组存在的才有意义
list = list.filter(item => this.$vnode.componentOptions.children.find(n => {
return n.componentOptions && item.label === n.componentOptions.propsData.label
return n.componentOptions && item.prop === n.componentOptions.propsData.prop
}))
this.storageList = list
},

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
showSearch.sync="false"
:queryParams="queryParams"
:total="total"
:showRightButton="false"
:showRightButton="true"
@queryTable="getList"
@selection-change="handleSelectionChange"
@expand-change="expandChange"
@ -160,7 +160,7 @@ export default {
propType: "",
slotProps: {}
},
dicts: [],
dicts: ['emis_pack_status'],
data() {
return {
loading: false,

View File

@ -133,9 +133,9 @@
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
</template>
</el-table-column>
<el-table-column :label="$t('客户名称')" align="center" prop="customerName" min-width="80" :show-overflow-tooltip="true">
<el-table-column :label="$t('客户名称')" align="center" prop="custName" min-width="80" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="scope.row.paymentType==2 || scope.row.paymentType==4 || scope.row.paymentType==5">{{scope.row.customerName}}</span>
<span v-if="scope.row.paymentType==2 || scope.row.paymentType==4 || scope.row.paymentType==5">{{scope.row.custName}}</span>
<span v-else></span>
</template>
</el-table-column>