|
@@ -168,16 +168,6 @@ export default function useColumns() {
|
|
|
// },
|
|
|
// },
|
|
|
// },
|
|
|
- // {
|
|
|
- // item: { key: "conversionRate", title: "采购换算率", required: true },
|
|
|
- // attr: {
|
|
|
- // is: "el-input-number",
|
|
|
- // min: 0,
|
|
|
- // precision: CONFIG.precision,
|
|
|
- // value: 1,
|
|
|
- // disabled: true,
|
|
|
- // },
|
|
|
- // },
|
|
|
{
|
|
|
item: { key: "customerName", title: "客户" },
|
|
|
attr: {
|
|
@@ -208,15 +198,15 @@ export default function useColumns() {
|
|
|
disabled: true,
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // item: { key: "price", title: "无税单价", required: true },
|
|
|
- // attr: {
|
|
|
- // formatter: (prop) => {
|
|
|
- // const { tax = 0, taxPrice = 0 } = prop;
|
|
|
- // return (prop.price = iunitprice(tax, taxPrice));
|
|
|
- // },
|
|
|
- // },
|
|
|
- // },
|
|
|
+ {
|
|
|
+ item: { key: "price", title: "无税单价", required: true },
|
|
|
+ attr: {
|
|
|
+ formatter: (prop) => {
|
|
|
+ const { tax = 0, taxPrice = 0 } = prop;
|
|
|
+ return (prop.price = iunitprice(tax, taxPrice));
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
// {
|
|
|
// item: { key: "currencyName", title: "币种" },
|
|
|
// attr: {
|
|
@@ -474,6 +464,17 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
+ // 采购换算率隐藏
|
|
|
+ {
|
|
|
+ item: { key: "conversionRate", title: "采购换算率", required: true, width: 5 },
|
|
|
+ attr: {
|
|
|
+ is: "el-input-number",
|
|
|
+ min: 0,
|
|
|
+ precision: CONFIG.precision,
|
|
|
+ value: 1,
|
|
|
+ disabled: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
];
|