Browse Source

申诉修复,客户修复

dev-xx
马远东 10 months ago
parent
commit
8cb3afad51
  1. 6
      src/api/basicdata/basicClient.js
  2. 7
      src/views/aftersales/aftersalesWorkOrder.vue
  3. 13
      src/views/basicdata/brand/basicClient.vue

6
src/api/basicdata/basicClient.js

@ -14,11 +14,9 @@ export const getList = (current, size, params) => {
export const getListCode = (params) => {
return request({
url: '/api/logpm-basicdata/basicdataClient/listCode',
url: '/api/logpm-basicdata/basicdataClient/getFinallyClientCode',
method: 'get',
params: {
...params,
}
params
})
}

7
src/views/aftersales/aftersalesWorkOrder.vue

@ -288,12 +288,7 @@
>确定</el-button
> -->
<el-button
v-if="
TabPermissions == '6' &&
!AppealStatusT &&
UserPermissions == '仓库客服' &&
slotProps.scope.row.workOrderStatus != '100'
"
v-if=" TabPermissions == '6' && !AppealStatusT && UserPermissions == '仓库客服' && slotProps.scope.row.workOrderStatus == '80' && slotProps.scope.row.canRepresentations"
@click="appeal(slotProps.scope, false)"
>申诉</el-button
>

13
src/views/basicdata/brand/basicClient.vue

@ -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';

Loading…
Cancel
Save