|
@@ -153,50 +153,50 @@ export default {
|
|
|
render: (h, { row, column }) => {
|
|
|
return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
}
|
|
|
- },
|
|
|
- ...(() => {
|
|
|
- if (!!~[1, 2, 3].indexOf(this?.workOrderType)) {
|
|
|
- return [
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '师傅分账金额',
|
|
|
- prop: 'workerAmount'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '师傅手续费',
|
|
|
- prop: 'workerProceAmount'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '网点分账金额',
|
|
|
- prop: 'websitAmount'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '网点手续费',
|
|
|
- prop: 'websitProceAmount'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- return []
|
|
|
- })()
|
|
|
+ }
|
|
|
+ // ...(() => {
|
|
|
+ // if (!!~[1, 2, 3].indexOf(this?.workOrderType)) {
|
|
|
+ // return [
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '师傅分账金额',
|
|
|
+ // prop: 'workerAmount'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '师傅手续费',
|
|
|
+ // prop: 'workerProceAmount'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '网点分账金额',
|
|
|
+ // prop: 'websitAmount'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '网点手续费',
|
|
|
+ // prop: 'websitProceAmount'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
+ // return []
|
|
|
+ // })()
|
|
|
]}
|
|
|
table-data={
|
|
|
[formData.workerOrderItems, formData.rpMaterialOrderItems][
|
|
@@ -355,25 +355,25 @@ export default {
|
|
|
render: (h, { row, column }) => {
|
|
|
return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
}
|
|
|
- },
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '师傅分账金额',
|
|
|
- prop: 'sffzje'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- columnAttributes: {
|
|
|
- label: '师傅手续费',
|
|
|
- prop: 'sfsxf'
|
|
|
- },
|
|
|
- render: (h, { row, column }) => {
|
|
|
- return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
- }
|
|
|
}
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '师傅分账金额',
|
|
|
+ // prop: 'sffzje'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '师傅手续费',
|
|
|
+ // prop: 'sfsxf'
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column }) => {
|
|
|
+ // return <div>{this.toFixed(row[column.columnAttributes.prop])}</div>
|
|
|
+ // }
|
|
|
+ // }
|
|
|
]}
|
|
|
table-data={formData.gengduofeiyong || []}
|
|
|
/>
|