|
@@ -2,7 +2,7 @@ import { httpList, httpDel } from "/@/api/purchase/orderRecord";
|
|
|
|
|
|
import dayjs from "dayjs";
|
|
|
import { ContentConfig } from "/@/components/PageContent";
|
|
|
-import { renderProp } from "/@/utils/columnRenderHelper";
|
|
|
+import { renderIconLabelLeft, renderProp } from "/@/utils/columnRenderHelper";
|
|
|
import { orderRecordStatusOptions } from "/@/utils/status";
|
|
|
|
|
|
const columns = [
|
|
@@ -15,7 +15,7 @@ const columns = [
|
|
|
label: "序号",
|
|
|
type: "index",
|
|
|
minWidth: 60,
|
|
|
- align: "left",
|
|
|
+ align: "left",
|
|
|
hide: ({ checkList }) => !checkList.includes("序号列")
|
|
|
},
|
|
|
{
|
|
@@ -36,31 +36,32 @@ const columns = [
|
|
|
width: 140,
|
|
|
...renderProp(orderRecordStatusOptions)
|
|
|
},
|
|
|
-
|
|
|
+ // {
|
|
|
+ // label: "卖方公司编码",
|
|
|
+ // prop: "supplierNo",
|
|
|
+ // width: 150,
|
|
|
+ // align: "left"
|
|
|
+ // },
|
|
|
{
|
|
|
- label: "卖方公司编码",
|
|
|
- prop: "supplierNo",
|
|
|
- width: 150,
|
|
|
- align: "left"
|
|
|
- },
|
|
|
- {
|
|
|
- label: "卖方公司名称",
|
|
|
+ label: "卖出方公司",
|
|
|
prop: "supplierName",
|
|
|
minWidth: 180,
|
|
|
- align: "left"
|
|
|
+ align: "left",
|
|
|
+ ...renderIconLabelLeft('supplierNo','supplierName','卖出方公司编码:')
|
|
|
},
|
|
|
{
|
|
|
- label: "买方公司编码",
|
|
|
+ label: "买入方公司",
|
|
|
prop: "companyNo",
|
|
|
- width: 150,
|
|
|
- align: "left"
|
|
|
- },
|
|
|
- {
|
|
|
- label: "买方公司名称",
|
|
|
- prop: "companyName",
|
|
|
minWidth: 180,
|
|
|
- align: "left"
|
|
|
+ align: "left",
|
|
|
+ ...renderIconLabelLeft('companyNo','companyName','买入方公司:')
|
|
|
},
|
|
|
+ // {
|
|
|
+ // label: "买方公司名称",
|
|
|
+ // prop: "companyName",
|
|
|
+ // minWidth: 180,
|
|
|
+ // align: "left"
|
|
|
+ // },
|
|
|
{
|
|
|
label: "申请人",
|
|
|
prop: "apply_name",
|