|
@@ -1,7 +1,5 @@
|
|
|
import {
|
|
|
initPage,
|
|
|
- initLayout,
|
|
|
- initPageSizes,
|
|
|
initParams,
|
|
|
initColumns,
|
|
|
initDicts,
|
|
@@ -18,6 +16,13 @@ export const TableColumns = [
|
|
|
referName: "sys_order_type",
|
|
|
},
|
|
|
{ key: "code", title: "订单编号", search: true, inputType: "Input" },
|
|
|
+ {
|
|
|
+ key: "status",
|
|
|
+ title: "单据状态",
|
|
|
+ inputType: "Select",
|
|
|
+ width:80,
|
|
|
+ referName: "sys_status", // 字典名
|
|
|
+ },
|
|
|
{ key: "billDate", title: "订单日期" },
|
|
|
// { key: "supplier", title: "供应商" },
|
|
|
{ key: "supplierName", title: "供应商", search: true, inputType: "Input" },
|
|
@@ -36,11 +41,13 @@ export const TableColumns = [
|
|
|
key: "isArrival",
|
|
|
title: "到货超期",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isBack",
|
|
|
title: "退货",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
// { key: "freezeCause", title: "冻结原因" },
|
|
|
{ key: "qty", title: "总数量" },
|
|
@@ -62,6 +69,7 @@ export const TableColumns = [
|
|
|
key: "isInvoice",
|
|
|
title: "发票标识",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{ key: "rebateMoney", title: "订单使用返利金额" },
|
|
|
{ key: "deductionMoney", title: "订单抵扣余款金额" },
|
|
@@ -77,6 +85,7 @@ export const TableColumns = [
|
|
|
key: "isUrgency",
|
|
|
title: "紧急程度",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
// { key: "agent", title: "代理人" }, // 建议删除
|
|
|
{ key: "agentName", title: "代理人" },
|
|
@@ -84,6 +93,7 @@ export const TableColumns = [
|
|
|
key: "isClose",
|
|
|
title: "最终关闭",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{ key: "applyPaymentMoney", title: "累计付款申请金额" },
|
|
|
{ key: "paymentMoney", title: "累计付款金额" },
|
|
@@ -103,12 +113,7 @@ export const TableColumns = [
|
|
|
{ key: "createTime", title: "制单日期/创建时间" },
|
|
|
{ key: "remark", title: "备注" },
|
|
|
{ key: "updateTime", title: "最后修改时间" },
|
|
|
- {
|
|
|
- key: "status",
|
|
|
- title: "单据状态",
|
|
|
- inputType: "Select",
|
|
|
- referName: "sys_status", // 字典名
|
|
|
- },
|
|
|
+
|
|
|
{ key: "oaDemandNo", title: "OA需求单号" },
|
|
|
{ key: "address", title: "收货地址" },
|
|
|
{ key: "contacts", title: "收获联系人" },
|
|
@@ -116,13 +121,14 @@ export const TableColumns = [
|
|
|
key: "isSendWms",
|
|
|
title: "已同步WMS",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:120,
|
|
|
},
|
|
|
- { key: "retReason", title: "退换原因" },
|
|
|
+ { key: "retReasonName", title: "退换原因" },
|
|
|
{ key: "closeTime", title: "最终关闭日期" },
|
|
|
- { key: "processType", title: "处理方式" },
|
|
|
+ { key: "processTypeName", title: "处理方式" },
|
|
|
{ key: "isEnd", title: "整单关闭标识" },
|
|
|
- { key: "projectNow", title: "在建工程项目" },
|
|
|
- { key: "operatingItems", title: "经营性项目" },
|
|
|
+ { key: "projectNowName", title: "在建工程项目" },
|
|
|
+ { key: "operatingItemsName", title: "经营性项目" },
|
|
|
{ key: "isArrivalReson", title: "到货超期原因" },
|
|
|
{ key: "midOrderNo", title: "中台采购订单号" }
|
|
|
];
|
|
@@ -146,6 +152,7 @@ export const TabColumns = [
|
|
|
title: "医药物料",
|
|
|
width: 180,
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{ key: "manufacturer", title: "生产厂家代理人", width: 180 },
|
|
|
{ key: "isDrug", title: "物料药品属性", width: 180 },
|
|
@@ -163,26 +170,31 @@ export const TabColumns = [
|
|
|
key: "isStorage",
|
|
|
title: "入库关闭",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isInvoice",
|
|
|
title: "开票关闭",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isArrival",
|
|
|
title: "到货关闭",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isPayment",
|
|
|
title: "付款关闭",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isGift",
|
|
|
title: "赠品",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{ key: "warehouse", title: "收货仓库", width: 180 },
|
|
|
{ key: "place", title: "收货地点", width: 180 },
|
|
@@ -208,11 +220,13 @@ export const TabColumns = [
|
|
|
key: "isBatchLock",
|
|
|
title: "批号锁定标识",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
key: "isReplenishment",
|
|
|
title: "补单标识",
|
|
|
inputType: 'Checkbox',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{ key: "isUrgency", title: "紧急标识" },
|
|
|
{ key: "originalQty", title: "原始数量" },
|