|
|
|
@ -220,12 +220,15 @@
|
|
|
|
|
<el-form :disabled="view" ref="form" :model="form" :rules="rules" label-width="120px"> |
|
|
|
|
<!-- 表单字段 --> |
|
|
|
|
<el-form-item label="客户编码" prop="clientCode"> |
|
|
|
|
|
|
|
|
|
<!-- :validate-method="validateInput" --> |
|
|
|
|
|
|
|
|
|
<!-- :disabled="viewClientEntd" --> |
|
|
|
|
<el-input |
|
|
|
|
v-model="form.clientCode" |
|
|
|
|
:validate-method="validateInput" |
|
|
|
|
placeholder="请输入客户编码" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:disabled="viewClientEntd" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户名称" prop="clientName"> |
|
|
|
@ -1357,6 +1360,12 @@ export default {
|
|
|
|
|
this.box = true; |
|
|
|
|
this.distriType = false; |
|
|
|
|
this.viewClientEntd = false; |
|
|
|
|
getListCode().then(res=>{ |
|
|
|
|
console.log(res); |
|
|
|
|
if(res.data.code ==200){ |
|
|
|
|
this.form.clientCode=res.data.data |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
this.$refs.form.resetFields(); |
|
|
|
|
this.form.defaultPaymentMethods = '1'; |
|
|
|
|