|
@@ -722,7 +722,7 @@ export default {
|
|
|
commonColumns() {
|
|
|
return [{
|
|
|
columnAttributes: {
|
|
|
- label: '收费标准(元)',
|
|
|
+ label: '销售价格(元)',
|
|
|
prop: 'normAmount',
|
|
|
width: 160
|
|
|
},
|
|
@@ -749,65 +749,67 @@ export default {
|
|
|
<div style="padding:0 6px">{row[column.columnAttributes.prop]}</div>
|
|
|
)
|
|
|
}
|
|
|
- }, {
|
|
|
- columnAttributes: {
|
|
|
- label: '师傅分账金额(元)',
|
|
|
- prop: 'workerAmount',
|
|
|
- width: 160
|
|
|
- },
|
|
|
- render: (h, { row, column, index }) => {
|
|
|
- return this.isEditIndex == index ? (
|
|
|
- <div class="redbordererr">
|
|
|
- <el-form-item
|
|
|
- label=""
|
|
|
- lebel-width="0px"
|
|
|
- prop={`${this.activeName}.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={required}
|
|
|
- >
|
|
|
- <el-input
|
|
|
- value={row[column.columnAttributes.prop]}
|
|
|
- onInput={val => {
|
|
|
- row[column.columnAttributes.prop] = val
|
|
|
- }}
|
|
|
- type="number"
|
|
|
- placeholder="请输入"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- ) : (
|
|
|
- <div style="padding:0 6px">{row[column.columnAttributes.prop]}</div>
|
|
|
- )
|
|
|
- }
|
|
|
- }, {
|
|
|
- columnAttributes: {
|
|
|
- label: '商户分账金额(元)',
|
|
|
- prop: 'websitAmount',
|
|
|
- width: 160
|
|
|
- },
|
|
|
- render: (h, { row, column, index }) => {
|
|
|
- return this.isEditIndex == index ? (
|
|
|
- <div class="redbordererr">
|
|
|
- <el-form-item
|
|
|
- label=""
|
|
|
- lebel-width="0px"
|
|
|
- prop={`${this.activeName}.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={required}
|
|
|
- >
|
|
|
- <el-input
|
|
|
- value={row[column.columnAttributes.prop]}
|
|
|
- onInput={val => {
|
|
|
- row[column.columnAttributes.prop] = val
|
|
|
- }}
|
|
|
- type="number"
|
|
|
- placeholder="请输入"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- ) : (
|
|
|
- <div style="padding:0 6px">{row[column.columnAttributes.prop]}</div>
|
|
|
- )
|
|
|
- }
|
|
|
- }, {
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '师傅分账金额(元)',
|
|
|
+ // prop: 'workerAmount',
|
|
|
+ // width: 160
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column, index }) => {
|
|
|
+ // return this.isEditIndex == index ? (
|
|
|
+ // <div class="redbordererr">
|
|
|
+ // <el-form-item
|
|
|
+ // label=""
|
|
|
+ // lebel-width="0px"
|
|
|
+ // prop={`${this.activeName}.${index}.${column.columnAttributes.prop}`}
|
|
|
+ // rules={required}
|
|
|
+ // >
|
|
|
+ // <el-input
|
|
|
+ // value={row[column.columnAttributes.prop]}
|
|
|
+ // onInput={val => {
|
|
|
+ // row[column.columnAttributes.prop] = val
|
|
|
+ // }}
|
|
|
+ // type="number"
|
|
|
+ // placeholder="请输入"
|
|
|
+ // ></el-input>
|
|
|
+ // </el-form-item>
|
|
|
+ // </div>
|
|
|
+ // ) : (
|
|
|
+ // <div style="padding:0 6px">{row[column.columnAttributes.prop]}</div>
|
|
|
+ // )
|
|
|
+ // }
|
|
|
+ // }, {
|
|
|
+ // columnAttributes: {
|
|
|
+ // label: '商户分账金额(元)',
|
|
|
+ // prop: 'websitAmount',
|
|
|
+ // width: 160
|
|
|
+ // },
|
|
|
+ // render: (h, { row, column, index }) => {
|
|
|
+ // return this.isEditIndex == index ? (
|
|
|
+ // <div class="redbordererr">
|
|
|
+ // <el-form-item
|
|
|
+ // label=""
|
|
|
+ // lebel-width="0px"
|
|
|
+ // prop={`${this.activeName}.${index}.${column.columnAttributes.prop}`}
|
|
|
+ // rules={required}
|
|
|
+ // >
|
|
|
+ // <el-input
|
|
|
+ // value={row[column.columnAttributes.prop]}
|
|
|
+ // onInput={val => {
|
|
|
+ // row[column.columnAttributes.prop] = val
|
|
|
+ // }}
|
|
|
+ // type="number"
|
|
|
+ // placeholder="请输入"
|
|
|
+ // ></el-input>
|
|
|
+ // </el-form-item>
|
|
|
+ // </div>
|
|
|
+ // ) : (
|
|
|
+ // <div style="padding:0 6px">{row[column.columnAttributes.prop]}</div>
|
|
|
+ // )
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ {
|
|
|
columnAttributes: {
|
|
|
label: '操作',
|
|
|
fixed: 'right',
|
|
@@ -1119,8 +1121,8 @@ export default {
|
|
|
"productRelaName": "",
|
|
|
"productUpdateBy": "",
|
|
|
"productUpdateTime": "",
|
|
|
- "websitAmount": '',
|
|
|
- "workerAmount": ''
|
|
|
+ // "websitAmount": '',
|
|
|
+ // "workerAmount": ''
|
|
|
})
|
|
|
this.isEditIndex = 0
|
|
|
}
|
|
@@ -1149,8 +1151,8 @@ export default {
|
|
|
"productRelaName": "",
|
|
|
"productUpdateBy": "",
|
|
|
"productUpdateTime": "",
|
|
|
- "websitAmount": '',
|
|
|
- "workerAmount": ''
|
|
|
+ // "websitAmount": '',
|
|
|
+ // "workerAmount": ''
|
|
|
})
|
|
|
this.isEditIndex = 0
|
|
|
}
|
|
@@ -1161,8 +1163,8 @@ export default {
|
|
|
`${this.activeName}.${this.isEditIndex}.goodsCategoryId`,
|
|
|
`${this.activeName}.${this.isEditIndex}.goodsId`,
|
|
|
`${this.activeName}.${this.isEditIndex}.normAmount`,
|
|
|
- `${this.activeName}.${this.isEditIndex}.workerAmount`,
|
|
|
- `${this.activeName}.${this.isEditIndex}.websitAmount`,
|
|
|
+ // `${this.activeName}.${this.isEditIndex}.workerAmount`,
|
|
|
+ // `${this.activeName}.${this.isEditIndex}.websitAmount`,
|
|
|
]
|
|
|
},
|
|
|
verifyBtn() {
|