|
@@ -16,7 +16,7 @@
|
|
|
<el-dialog title="新增" width="100%" :modal="false" :visible.sync="formDialog" :before-close="handleClose">
|
|
|
<zj-page-container>
|
|
|
<zj-page-fill>
|
|
|
- <div style="box-sizing: border-box; padding: 20px 20px 0 20px">
|
|
|
+ <div style="box-sizing: border-box; padding: 20px 20px 0 20px" v-if="formDialog">
|
|
|
<zj-form-container ref="formRef" :form-data="formData" :form-attributes="{ size: 'mini' }">
|
|
|
<zj-form-module title="新增" label-width="110px" :form-data="formData" :form-items="formItems">
|
|
|
</zj-form-module>
|
|
@@ -35,7 +35,7 @@
|
|
|
<el-dialog title="详情" width="100%" :modal="false" :visible.sync="formDialog2" :before-close="handleClose">
|
|
|
<zj-page-container>
|
|
|
<zj-page-fill>
|
|
|
- <div style="box-sizing: border-box; padding: 20px 20px 0 20px">
|
|
|
+ <div style="box-sizing: border-box; padding: 20px 20px 0 20px" v-if="formDialog2">
|
|
|
<zj-form-container ref="formRef2" :form-data="formData" :form-attributes="{ size: 'mini' }">
|
|
|
<zj-form-module title="详情" label-width="110px" :form-data="formData" :form-items="formItems3">
|
|
|
</zj-form-module>
|
|
@@ -57,7 +57,7 @@
|
|
|
<el-dialog title="退款申请" width="100%" :modal="false" :visible.sync="formDialog3" :before-close="handleClose">
|
|
|
<zj-page-container>
|
|
|
<zj-page-fill>
|
|
|
- <div style="box-sizing: border-box; padding: 20px 20px 0 20px">
|
|
|
+ <div style="box-sizing: border-box; padding: 20px 20px 0 20px" v-if="formDialog3">
|
|
|
<zj-form-container ref="formRef3" :form-data="formTK" :form-attributes="{ size: 'mini' }">
|
|
|
<zj-form-module title="详情" label-width="110px" :form-data="formData" :form-items="formItems3">
|
|
|
</zj-form-module>
|
|
@@ -354,14 +354,14 @@ export default {
|
|
|
this.formData.worker = v
|
|
|
}}
|
|
|
left-columns={[
|
|
|
- { id: 'websitName', label: '所属网点', width: '160' },
|
|
|
+ { id: 'websitNameLabel', label: '所属网点', width: '160' },
|
|
|
{ id: 'nickName', label: '师傅名称', width: '160' },
|
|
|
{ id: 'workerNumber', label: '师傅编号', width: '160' },
|
|
|
{ id: 'mobile', label: '师傅手机号', width: '160' },
|
|
|
{ id: 'idCard', label: '师傅身份证号', width: '160' }
|
|
|
]}
|
|
|
right-columns={[
|
|
|
- { id: 'websitName', label: '所属网点', width: '160' },
|
|
|
+ { id: 'websitNameLabel', label: '所属网点', width: '160' },
|
|
|
{ id: 'nickName', label: '师傅名称', width: '160' },
|
|
|
{ id: 'workerNumber', label: '师傅编号', width: '160' },
|
|
|
{ id: 'mobile', label: '师傅手机号', width: '160' },
|
|
@@ -875,7 +875,10 @@ export default {
|
|
|
}).then(res => {
|
|
|
resolve({
|
|
|
total: res.data.total,
|
|
|
- data: res.data.records
|
|
|
+ data: res.data.records.map(item => ({
|
|
|
+ ...item,
|
|
|
+ websitNameLabel: `(${item.websitId})${item.websitName}`
|
|
|
+ }))
|
|
|
})
|
|
|
})
|
|
|
})
|