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

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -133,9 +133,9 @@
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/> <dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
</template> </template>
</el-table-column> </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"> <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> <span v-else></span>
</template> </template>
</el-table-column> </el-table-column>