|
@@ -19,6 +19,7 @@ export const Columns = [
|
|
|
inputType: "Select",
|
|
|
referName: "sys_order_type", // 字典名
|
|
|
isShow:true,
|
|
|
+ require: true,
|
|
|
},
|
|
|
{ key: "oaDemandNo", title: "OA需求单号", inputType: "Input", isShow:true,},
|
|
|
{
|
|
@@ -34,7 +35,8 @@ export const Columns = [
|
|
|
title: "订单日期",
|
|
|
inputType: "DatePicker",
|
|
|
valueFormat: "yyyy-MM-dd",
|
|
|
- width: 200, isShow:true,
|
|
|
+ width: 200,
|
|
|
+ isShow:true,
|
|
|
},
|
|
|
{
|
|
|
key: "supplierName",
|
|
@@ -77,19 +79,6 @@ export const Columns = [
|
|
|
isShow:true,
|
|
|
},
|
|
|
{
|
|
|
- key: "currencyName",
|
|
|
- title: "币种",
|
|
|
- inputType: "PopoverSelect",
|
|
|
- valueKey: "id",
|
|
|
- referName: "CURRENCY_PARAM",
|
|
|
- dataMapping: {
|
|
|
- currency: 'id',
|
|
|
- currencyName: 'name'
|
|
|
- },
|
|
|
- queryParams: () => ({}),
|
|
|
- isShow:true,
|
|
|
- },
|
|
|
- {
|
|
|
key: "buyerName",
|
|
|
title: "采购员",
|
|
|
inputType: "PopoverSelect",
|
|
@@ -122,7 +111,6 @@ export const Columns = [
|
|
|
title: "收货客户",
|
|
|
inputType: "PopoverSelect",
|
|
|
width: 200,
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "CUSTOMER_PARAM",
|
|
|
dataMapping: {
|
|
@@ -165,7 +153,6 @@ export const Columns = [
|
|
|
key: "warehouseName",
|
|
|
title: "WMS入库仓库",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "WAREHOUSE_PARAM",
|
|
|
dataMapping: {
|
|
@@ -181,7 +168,6 @@ export const Columns = [
|
|
|
key: "goodsAllocationName",
|
|
|
title: "货位",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "ALLOCATION_PARAM",
|
|
|
dataMapping: {
|
|
@@ -197,8 +183,20 @@ export const Columns = [
|
|
|
{ key: "isSendSrm", title: "是否同步SRM", inputType: "Checkbox",isShow:true, },
|
|
|
{ key: "isInvoice", title: "发票标识", inputType: "Checkbox", isShow:true,},
|
|
|
{ key: "supplierOrderNo", title: "供应商订单号", inputType: "Input",isShow:true, },
|
|
|
- { key: "rebateMoney", title: "订单使用返利金额", inputType: "Input",isShow:true, },
|
|
|
- { key: "deductionMoney", title: "订单抵扣余款金额", inputType: "Input",isShow:true, },
|
|
|
+ {
|
|
|
+ key: "rebateMoney",
|
|
|
+ title: "订单使用返利金额",
|
|
|
+ inputType: "Input",
|
|
|
+ isShow:true,
|
|
|
+ require: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "deductionMoney",
|
|
|
+ title: "订单抵扣余款金额",
|
|
|
+ inputType: "Input",
|
|
|
+ isShow:true,
|
|
|
+ require: true,
|
|
|
+ },
|
|
|
{
|
|
|
key: "goodsWarehouseName",
|
|
|
title: "收货仓库",
|
|
@@ -212,6 +210,7 @@ export const Columns = [
|
|
|
inputType: "PopoverSelect",
|
|
|
valueKey: "address",
|
|
|
referName: "ADDRESS_PARAM",
|
|
|
+ require: true,
|
|
|
isShow:true,
|
|
|
dataMapping: {
|
|
|
// address: 'address',
|
|
@@ -257,7 +256,6 @@ export const Columns = [
|
|
|
key: "supplierContactsName",
|
|
|
title: "供应商业务联系人",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "SUPPLIERCONTACTS_PARAM",
|
|
|
dataMapping: {
|
|
@@ -315,14 +313,12 @@ export const Columns = [
|
|
|
pkOrg: params.puOrg,
|
|
|
supplierId:params.supplier
|
|
|
}),
|
|
|
- require: true,
|
|
|
},
|
|
|
{ key: "isDeliver", title: "是否发货", inputType: "Checkbox", isShow:true,},
|
|
|
{
|
|
|
key: "retReasonName",
|
|
|
title: "退换原因",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "RETREASON_PARAM",
|
|
|
dataMapping: {
|
|
@@ -336,7 +332,6 @@ export const Columns = [
|
|
|
key: "processTypeName",
|
|
|
title: "处理方式",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "PROCESSTYPE_PARAM",
|
|
|
dataMapping: {
|
|
@@ -351,7 +346,6 @@ export const Columns = [
|
|
|
key: "projectNowName",
|
|
|
title: "在建工程项目",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "PROJECT_PARAM",
|
|
|
dataMapping: {
|
|
@@ -365,7 +359,6 @@ export const Columns = [
|
|
|
key: "operatingItemsName",
|
|
|
title: "经营性项目",
|
|
|
inputType: "PopoverSelect",
|
|
|
- require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "OPERATING_PARAM",
|
|
|
dataMapping: {
|
|
@@ -406,6 +399,12 @@ export const Columns = [
|
|
|
span: 24,
|
|
|
isShow:true,
|
|
|
},
|
|
|
+ {
|
|
|
+ key: "remark",
|
|
|
+ title: "备注",
|
|
|
+ inputType: "Textarea",
|
|
|
+ isShow:true,
|
|
|
+ },
|
|
|
|
|
|
];
|
|
|
|
|
@@ -416,7 +415,13 @@ export const TabColumns = [
|
|
|
title: '物料信息',
|
|
|
key: 'puOrderItemList',
|
|
|
tableColumns: [
|
|
|
- { key: "rowNo", title: "行号", inputType: "Input", disabled:true},
|
|
|
+ {
|
|
|
+ key: "rowNo",
|
|
|
+ title: "行号",
|
|
|
+ inputType: "Input",
|
|
|
+ disabled:true,
|
|
|
+ require:false,
|
|
|
+ },
|
|
|
// { key: "orderId", title: "采购订单ID", inputType: "Input", width: 180 },
|
|
|
// {key: "material",title: "物料",inputType: "Input", },
|
|
|
{
|
|
@@ -424,6 +429,7 @@ export const TabColumns = [
|
|
|
title: "物料",
|
|
|
inputType: "PopoverSelect",
|
|
|
width: 180,
|
|
|
+ require: true,
|
|
|
valueKey: "id",
|
|
|
referName: "MATERIAL_PARAM",
|
|
|
dataMapping: {
|
|
@@ -435,8 +441,10 @@ export const TabColumns = [
|
|
|
specification:'specification',
|
|
|
model:'model',
|
|
|
isMedcine:'isMedicineValue',
|
|
|
- manufacturer:'manufacturerIdName',
|
|
|
- unit:'unitIdName',
|
|
|
+ manufacturer:'manufacturerId',
|
|
|
+ manufacturerName:'manufacturerIdName',
|
|
|
+ unit:'unitId',
|
|
|
+ unitName:'unitIdName',
|
|
|
// tax:'materialRateName',
|
|
|
storageCondition:'storageCondition',
|
|
|
carriageCondition:'transportationCondition',
|
|
@@ -444,6 +452,8 @@ export const TabColumns = [
|
|
|
materialClassifyTwoName:'twoClass',
|
|
|
materialClassifyThreeName:'threeClass',
|
|
|
materialClassifyFourName:'fourClass',
|
|
|
+ registration:'registrationNo',
|
|
|
+ isDrug:'isDrug',
|
|
|
},
|
|
|
queryParams: () => ({}),
|
|
|
},
|
|
@@ -451,6 +461,7 @@ export const TabColumns = [
|
|
|
key: "materialCode",
|
|
|
title: "物料编码",
|
|
|
inputType: "Input",
|
|
|
+ require: true,
|
|
|
width: 180,
|
|
|
disabled:true,
|
|
|
readonly:true,
|
|
@@ -495,7 +506,7 @@ export const TabColumns = [
|
|
|
readonly:true,
|
|
|
},
|
|
|
{ // manufacturerId manufacturerIdName
|
|
|
- key: "manufacturer",
|
|
|
+ key: "manufacturerName",
|
|
|
title: "生产厂家代理人",
|
|
|
inputType: "Input",
|
|
|
width: 180,
|
|
@@ -509,7 +520,7 @@ export const TabColumns = [
|
|
|
disabled:true,
|
|
|
},
|
|
|
{ //unitId unitIdName
|
|
|
- key: "unit",
|
|
|
+ key: "unitName",
|
|
|
title: "单位",
|
|
|
inputType: "Input",
|
|
|
disabled:true,
|
|
@@ -520,9 +531,29 @@ export const TabColumns = [
|
|
|
title: "数量",
|
|
|
inputType: "InputNumber",
|
|
|
controlsPosition: "right",
|
|
|
- width: 120
|
|
|
+ width: 120,
|
|
|
+ require: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: "currencyName",
|
|
|
+ title: "币种",
|
|
|
+ inputType: "PopoverSelect",
|
|
|
+ valueKey: "id",
|
|
|
+ referName: "CURRENCY_PARAM",
|
|
|
+ dataMapping: {
|
|
|
+ currency: 'id',
|
|
|
+ currencyName: 'name'
|
|
|
+ },
|
|
|
+ queryParams: () => ({}),
|
|
|
+ width: 180,
|
|
|
},
|
|
|
- { key: "taxPrice", title: "含税单价", inputType: "Input", },
|
|
|
+ {
|
|
|
+ key: "taxPrice",
|
|
|
+ title: "含税单价",
|
|
|
+ inputType: "Input",
|
|
|
+ require: true,
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
{ key: "money", title: "价税合计", inputType: "Input", },
|
|
|
{ //materialRate materialRateName
|
|
|
key: "tax",
|
|
@@ -593,7 +624,8 @@ export const TabColumns = [
|
|
|
key: "registration",
|
|
|
title: "注册证号",
|
|
|
inputType: "Input",
|
|
|
- width: 180
|
|
|
+ width: 180 ,
|
|
|
+ disabled:true,
|
|
|
},
|
|
|
|
|
|
{ //storageCondition storageConditionName
|
|
@@ -624,7 +656,13 @@ export const TabColumns = [
|
|
|
{ key: "discountRule", title: "折扣规则编码", inputType: "Input", width: 180 },
|
|
|
{ key: "reservedQty", title: "预留数量", inputType: "Input", },
|
|
|
{ key: "reservedPeriod", title: "预留周期", inputType: "Input", },
|
|
|
- { key: "taxDeductClassify", title: "扣税类别", inputType: "Input", },
|
|
|
+ {
|
|
|
+ key: "taxDeductClassify",
|
|
|
+ title: "扣税类别",
|
|
|
+ inputType: "Select",
|
|
|
+ referName: "tax_deduction_category", // 字典名
|
|
|
+ width: 180,
|
|
|
+ },
|
|
|
{ key: "exchangeRate", title: "折本汇率", inputType: "Input", },
|
|
|
{ key: "source", title: "上游单据号", inputType: "Input", width: 180 },
|
|
|
{ key: "sourceId", title: "上游单据ID", inputType: "Input", width: 180 },
|
|
@@ -684,10 +722,17 @@ export const TabColumns = [
|
|
|
key: 'puOrderExecuteList',
|
|
|
tableColumns: [
|
|
|
// { key: "orderId", title: "采购订单ID", inputType: "Input", width: 180 },
|
|
|
- { key: "rowno", title: "行号", inputType: "Input", disabled:true},
|
|
|
+ {
|
|
|
+ key: "rowno",
|
|
|
+ title: "行号",
|
|
|
+ inputType: "Input",
|
|
|
+ disabled:true,
|
|
|
+ require:false,
|
|
|
+ },
|
|
|
{
|
|
|
key: "materialName",
|
|
|
title: "物料",
|
|
|
+ require: true,
|
|
|
inputType: "PopoverSelect",
|
|
|
valueKey: "id",
|
|
|
referName: "MATERIAL_PARAM",
|
|
@@ -700,8 +745,10 @@ export const TabColumns = [
|
|
|
specification:'specification',
|
|
|
model:'model',
|
|
|
isMedcine:'isMedicineValue',
|
|
|
- manufacturer:'manufacturerIdName',
|
|
|
- unit:'unitIdName',
|
|
|
+ manufacturer:'manufacturerId',
|
|
|
+ manufacturerName:'manufacturerIdName',
|
|
|
+ unit:'unitId',
|
|
|
+ unitName:'unitIdName',
|
|
|
// tax:'materialRateName',
|
|
|
storageCondition:'storageCondition',
|
|
|
carriageCondition:'transportationCondition',
|
|
@@ -709,6 +756,8 @@ export const TabColumns = [
|
|
|
materialClassifyTwoName:'twoClass',
|
|
|
materialClassifyThreeName:'threeClass',
|
|
|
materialClassifyFourName:'fourClass',
|
|
|
+ registration:'registrationNo',
|
|
|
+ isDrug:'isDrug',
|
|
|
},
|
|
|
queryParams: () => ({}),
|
|
|
width: 180
|
|
@@ -725,7 +774,8 @@ export const TabColumns = [
|
|
|
title: "数量",
|
|
|
inputType: "InputNumber",
|
|
|
controlsPosition: "right",
|
|
|
- width: 120
|
|
|
+ width: 120,
|
|
|
+ require: true,
|
|
|
},
|
|
|
{ key: "stroageQty", title: "累计到货主数量", inputType: "Input", width: 120 },
|
|
|
{ key: "stockQty", title: "累计入库主数量", inputType: "Input", width: 120 },
|