|
@@ -186,16 +186,22 @@ export default {
|
|
formItemAttributes: { label: '商家编号', prop: 'transferCustomerNumber' }
|
|
formItemAttributes: { label: '商家编号', prop: 'transferCustomerNumber' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: 'el-select',
|
|
|
|
- options: this.sonCustomerList,
|
|
|
|
|
|
+ name: 'el-input',
|
|
md: 6,
|
|
md: 6,
|
|
- attributes: {
|
|
|
|
- clearable: true,
|
|
|
|
- filterable: true,
|
|
|
|
- disabled: this.comDisabled
|
|
|
|
- },
|
|
|
|
|
|
+ attributes: { disabled: this.comDisabled, placeholder: '请输入' },
|
|
formItemAttributes: { label: '商家名称', prop: 'transferCustomerName' }
|
|
formItemAttributes: { label: '商家名称', prop: 'transferCustomerName' }
|
|
},
|
|
},
|
|
|
|
+ // {
|
|
|
|
+ // name: 'el-select',
|
|
|
|
+ // options: this.sonCustomerList,
|
|
|
|
+ // md: 6,
|
|
|
|
+ // attributes: {
|
|
|
|
+ // clearable: true,
|
|
|
|
+ // filterable: true,
|
|
|
|
+ // disabled: this.comDisabled
|
|
|
|
+ // },
|
|
|
|
+ // formItemAttributes: { label: '商家名称', prop: 'transferCustomerName' }
|
|
|
|
+ // },
|
|
{
|
|
{
|
|
name: 'el-select',
|
|
name: 'el-select',
|
|
md: 6,
|
|
md: 6,
|
|
@@ -276,14 +282,14 @@ export default {
|
|
},
|
|
},
|
|
render: (h, { column, row, index }) => {
|
|
render: (h, { column, row, index }) => {
|
|
return (
|
|
return (
|
|
- <div style="margin:0 20px">
|
|
|
|
|
|
+ <div style='margin:0 20px'>
|
|
<el-input
|
|
<el-input
|
|
- type="number"
|
|
|
|
|
|
+ type='number'
|
|
disabled={this.comDisabled}
|
|
disabled={this.comDisabled}
|
|
value={row.qty}
|
|
value={row.qty}
|
|
onInput={e => (row.qty = e)}
|
|
onInput={e => (row.qty = e)}
|
|
- placeholder="调拨数量"
|
|
|
|
- size="mini"
|
|
|
|
|
|
+ placeholder='调拨数量'
|
|
|
|
+ size='mini'
|
|
></el-input>
|
|
></el-input>
|
|
</div>
|
|
</div>
|
|
)
|
|
)
|
|
@@ -297,12 +303,12 @@ export default {
|
|
render: (h, { column, row, index }) => {
|
|
render: (h, { column, row, index }) => {
|
|
return (
|
|
return (
|
|
<el-input
|
|
<el-input
|
|
- type="text"
|
|
|
|
|
|
+ type='text'
|
|
value={row.notes}
|
|
value={row.notes}
|
|
disabled={this.comDisabled}
|
|
disabled={this.comDisabled}
|
|
onInput={e => (row.notes = e)}
|
|
onInput={e => (row.notes = e)}
|
|
- placeholder="备注"
|
|
|
|
- size="mini"
|
|
|
|
|
|
+ placeholder='备注'
|
|
|
|
+ size='mini'
|
|
></el-input>
|
|
></el-input>
|
|
)
|
|
)
|
|
}
|
|
}
|
|
@@ -323,8 +329,8 @@ export default {
|
|
<div>
|
|
<div>
|
|
{!this.comDisabled ? (
|
|
{!this.comDisabled ? (
|
|
<el-button
|
|
<el-button
|
|
- type="text"
|
|
|
|
- size="default"
|
|
|
|
|
|
+ type='text'
|
|
|
|
+ size='default'
|
|
onClick={() => {
|
|
onClick={() => {
|
|
this.handleDel(index)
|
|
this.handleDel(index)
|
|
}}
|
|
}}
|
|
@@ -343,29 +349,29 @@ export default {
|
|
...[
|
|
...[
|
|
!this.comDisabled
|
|
!this.comDisabled
|
|
? {
|
|
? {
|
|
- name: 'slot-component',
|
|
|
|
- md: 24,
|
|
|
|
- attributes: { disabled: false },
|
|
|
|
- formItemAttributes: { label: '', prop: '' },
|
|
|
|
- render: (h, { props, onInput }) => {
|
|
|
|
- return (
|
|
|
|
- <div>
|
|
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- onClick={() => {
|
|
|
|
- this.visible = true
|
|
|
|
- this.recordSelected = []
|
|
|
|
- }}
|
|
|
|
- >
|
|
|
|
|
|
+ name: 'slot-component',
|
|
|
|
+ md: 24,
|
|
|
|
+ attributes: { disabled: false },
|
|
|
|
+ formItemAttributes: { label: '', prop: '' },
|
|
|
|
+ render: (h, { props, onInput }) => {
|
|
|
|
+ return (
|
|
|
|
+ <div>
|
|
|
|
+ <el-button
|
|
|
|
+ size='mini'
|
|
|
|
+ onClick={() => {
|
|
|
|
+ this.visible = true
|
|
|
|
+ this.recordSelected = []
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
添加
|
|
添加
|
|
- </el-button>
|
|
|
|
- <el-button size="mini" onClick={() => this.handleAllDel()}>
|
|
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button size='mini' onClick={() => this.handleAllDel()}>
|
|
删除
|
|
删除
|
|
- </el-button>
|
|
|
|
- </div>
|
|
|
|
- )
|
|
|
|
- }
|
|
|
|
|
|
+ </el-button>
|
|
|
|
+ </div>
|
|
|
|
+ )
|
|
}
|
|
}
|
|
|
|
+ }
|
|
: {}
|
|
: {}
|
|
],
|
|
],
|
|
{
|
|
{
|
|
@@ -519,7 +525,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.getStagecustomerListV2()
|
|
|
|
|
|
+ // this.getStagecustomerListV2()
|
|
if (this.detailsId) {
|
|
if (this.detailsId) {
|
|
getCustomerTransferDetail({ id: this.detailsId }).then(res => {
|
|
getCustomerTransferDetail({ id: this.detailsId }).then(res => {
|
|
this.formData = res.data
|
|
this.formData = res.data
|