|
@@ -68,15 +68,12 @@ export default function useColumns() {
|
|
attr: { is: "el-input", disabled: true, readonly: true },
|
|
attr: { is: "el-input", disabled: true, readonly: true },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- item: { key: "source", title: "来源单据号" },
|
|
|
|
- attr: { is: "el-input", disabled: true, readonly: true },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
item: { key: "isEffective", title: "是否已推价格" },
|
|
item: { key: "isEffective", title: "是否已推价格" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-select",
|
|
is: "el-select",
|
|
dictName: "is_effective",
|
|
dictName: "is_effective",
|
|
value: "N",
|
|
value: "N",
|
|
|
|
+ disabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -120,6 +117,7 @@ export default function useColumns() {
|
|
item: { key: "materialName", title: "物料名称", require: true },
|
|
item: { key: "materialName", title: "物料名称", require: true },
|
|
attr: {
|
|
attr: {
|
|
is: "el-popover-select-v2",
|
|
is: "el-popover-select-v2",
|
|
|
|
+ multiple: true,
|
|
valueKey: "name",
|
|
valueKey: "name",
|
|
referName: "MATERIAL_PARAM",
|
|
referName: "MATERIAL_PARAM",
|
|
dataMapping: {
|
|
dataMapping: {
|
|
@@ -144,7 +142,7 @@ export default function useColumns() {
|
|
{ item: { key: "specification", title: "规格" }, attr: {} },
|
|
{ item: { key: "specification", title: "规格" }, attr: {} },
|
|
{ item: { key: "model", title: "型号" }, attr: {} },
|
|
{ item: { key: "model", title: "型号" }, attr: {} },
|
|
{
|
|
{
|
|
- item: { key: "unitName", title: "单位" },
|
|
|
|
|
|
+ item: { key: "unitName", title: "单位", hidden: false },
|
|
attr: {
|
|
attr: {
|
|
is: "el-popover-select-v2",
|
|
is: "el-popover-select-v2",
|
|
valueKey: "name",
|
|
valueKey: "name",
|
|
@@ -153,7 +151,7 @@ export default function useColumns() {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- item: { key: "puUnitName", title: "采购单位" },
|
|
|
|
|
|
+ item: { key: "puUnitName", title: "采购单位", hidden: false },
|
|
attr: {
|
|
attr: {
|
|
is: "el-popover-select-v2",
|
|
is: "el-popover-select-v2",
|
|
valueKey: "name",
|
|
valueKey: "name",
|
|
@@ -170,6 +168,8 @@ export default function useColumns() {
|
|
attr: {
|
|
attr: {
|
|
is: "el-input-number",
|
|
is: "el-input-number",
|
|
precision: CONFIG.precision,
|
|
precision: CONFIG.precision,
|
|
|
|
+ value: 1,
|
|
|
|
+ disabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -179,6 +179,7 @@ export default function useColumns() {
|
|
valueKey: "ntaxrate",
|
|
valueKey: "ntaxrate",
|
|
referName: "TAX_RATE_PARAM",
|
|
referName: "TAX_RATE_PARAM",
|
|
dataMapping: { tax: "ntaxrate" },
|
|
dataMapping: { tax: "ntaxrate" },
|
|
|
|
+ disabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -251,12 +252,20 @@ export default function useColumns() {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- { item: { key: "recentlyPrice", title: "最近价格" }, attr: {} },
|
|
|
|
|
|
+ {
|
|
|
|
+ item: { key: "recentlyPrice", title: "最近价格" },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ disabled: true,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{
|
|
{
|
|
item: { key: "isApprovalFirst", title: "首次报批" },
|
|
item: { key: "isApprovalFirst", title: "首次报批" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-select",
|
|
is: "el-select",
|
|
dictName: "is_effective",
|
|
dictName: "is_effective",
|
|
|
|
+ disabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -264,6 +273,7 @@ export default function useColumns() {
|
|
attr: {
|
|
attr: {
|
|
is: "el-select",
|
|
is: "el-select",
|
|
dictName: "is_effective",
|
|
dictName: "is_effective",
|
|
|
|
+ disabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -282,6 +292,182 @@ export default function useColumns() {
|
|
value: "N",
|
|
value: "N",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ item: { key: "isChannel", title: "是否渠道变更" },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-select",
|
|
|
|
+ dictName: "is_effective",
|
|
|
|
+ value: "N",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "brandReplacement",
|
|
|
|
+ title: "是否品牌替换",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-select",
|
|
|
|
+ dictName: "is_effective",
|
|
|
|
+ value: "N",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "priceDiffer",
|
|
|
|
+ title: "单价差",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "increase",
|
|
|
|
+ title: "涨幅",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "yPurchaseQuantity",
|
|
|
|
+ title: "预计年采购数量",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "yAffectedAmount",
|
|
|
|
+ title: "预计年影响金额",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "supplierName",
|
|
|
|
+ title: "供应商名称",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "bidPrice",
|
|
|
|
+ title: "中标价",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "unitPrice",
|
|
|
|
+ title: "单价",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "profit",
|
|
|
|
+ title: "利润比",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "supplierName1",
|
|
|
|
+ title: "供应商名称1",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "bidPrice1",
|
|
|
|
+ title: "中标价1",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "unitPrice1",
|
|
|
|
+ title: "单价1",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "profit1",
|
|
|
|
+ title: "利润比1",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "supplierName2",
|
|
|
|
+ title: "供应商名称2",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "bidPrice2",
|
|
|
|
+ title: "中标价2",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "unitPrice2",
|
|
|
|
+ title: "单价2",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ item: {
|
|
|
|
+ key: "profit2",
|
|
|
|
+ title: "利润比2",
|
|
|
|
+ },
|
|
|
|
+ attr: {
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ precision: CONFIG.precision,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{ item: { key: "createByName", title: "创建人名称" }, attr: {} },
|
|
{ item: { key: "createByName", title: "创建人名称" }, attr: {} },
|
|
{ item: { key: "updateByName", title: "更新人名称" }, attr: {} },
|
|
{ item: { key: "updateByName", title: "更新人名称" }, attr: {} },
|
|
],
|
|
],
|