|
@@ -39,7 +39,7 @@
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
</template>
|
|
|
- <template slot="corpIdSearch">
|
|
|
+ <template slot="corpsNameSearch">
|
|
|
<crop-select v-model="search.corpId" corpType="KH"></crop-select>
|
|
|
</template>
|
|
|
<template slot="businesDateSearch">
|
|
@@ -158,13 +158,10 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "客户名称",
|
|
|
- prop: "corpId",
|
|
|
+ prop: "corpsName",
|
|
|
overHidden: true,
|
|
|
width: 100,
|
|
|
- search: true,
|
|
|
- formatter: row => {
|
|
|
- return row.corpsName;
|
|
|
- }
|
|
|
+ search: true
|
|
|
},
|
|
|
{
|
|
|
label: "合同日期",
|
|
@@ -349,6 +346,7 @@ export default {
|
|
|
},
|
|
|
async created() {
|
|
|
this.option = await this.getColumnData(this.getColumnName(185.1), this.optionList);
|
|
|
+ console.log(await this.getColumnData(this.getColumnName(185.1), this.optionList))
|
|
|
},
|
|
|
methods: {
|
|
|
cellStyle() {
|
|
@@ -538,6 +536,7 @@ export default {
|
|
|
* 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
+ console.log(this[option])
|
|
|
const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|