|
@@ -101,18 +101,21 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "归属公司",
|
|
|
prop: "corporationName",
|
|
|
+ width: 220,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "归属部门",
|
|
|
prop: "deptName",
|
|
|
+ width: 180,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "付款类型",
|
|
|
prop: "type",
|
|
|
+ width: 130,
|
|
|
},
|
|
|
render(type) {
|
|
|
if (type != "20") {
|
|
@@ -126,36 +129,42 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "申请人",
|
|
|
prop: "userName",
|
|
|
+ width: 130,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "申请时间",
|
|
|
prop: "createTime",
|
|
|
+ width: 160,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "用款时间",
|
|
|
prop: "paymentTime",
|
|
|
+ width: 160,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "金额",
|
|
|
prop: "amount",
|
|
|
+ width: 130,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "款项说明",
|
|
|
prop: "paymentRemark",
|
|
|
+ "min-width": 220,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "打款状态",
|
|
|
prop: "status",
|
|
|
+ width: 120,
|
|
|
},
|
|
|
render(status) {
|
|
|
return proxy.dictValueLabel(status, paymentType.value);
|
|
@@ -166,8 +175,8 @@ const config = computed(() => {
|
|
|
label: "操作",
|
|
|
width: "120",
|
|
|
align: "center",
|
|
|
+ fixed: "right",
|
|
|
},
|
|
|
- // 渲染 el-button,一般用在最后一列。
|
|
|
renderHTML(row) {
|
|
|
return [
|
|
|
row.status == 20
|