Commit a8280c01d5c65214743d29b488b0a11c70dd58d9

Authored by boyang
1 parent d512bd55

修改审核字段

src/views/project/approve/PayPanel.vue
@@ -159,6 +159,15 @@ @@ -159,6 +159,15 @@
159 title: '申请人', 159 title: '申请人',
160 dataIndex: 'createBy', 160 dataIndex: 'createBy',
161 width: 150, 161 width: 150,
  162 + customRender: (column) => {
  163 + const { record } = column || {};
  164 + console.log(record, '5656record');
  165 + if (record?.type === 40) {
  166 + return record.createBy;
  167 + } else if (record?.type == 50) {
  168 + return record?.fieldInfos?.checkBillOrderDO?.productionName;
  169 + }
  170 + },
162 }, 171 },
163 { 172 {
164 title: '内部编号', 173 title: '内部编号',
@@ -254,6 +263,8 @@ @@ -254,6 +263,8 @@
254 async function handleDetail(data) { 263 async function handleDetail(data) {
255 if (data.type == 50) { 264 if (data.type == 50) {
256 showInvoice.value = true; 265 showInvoice.value = true;
  266 + } else if (data.type == 40) {
  267 + showInvoice.value = false;
257 } 268 }
258 openModal(true, { data }); 269 openModal(true, { data });
259 id.value = data.id; 270 id.value = data.id;
@@ -268,7 +279,7 @@ @@ -268,7 +279,7 @@
268 } 279 }
269 } 280 }
270 function handleShow() { 281 function handleShow() {
271 - showInvoice.value = false; 282 + // showInvoice.value = false;
272 } 283 }
273 284
274 async function handleTrue() { 285 async function handleTrue() {