guoyuji
2025-02-18 337fd695672c2b01770b275df3d7ec4528db5a39
修改客户相关方
1个文件已修改
20 ■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
@@ -1135,15 +1135,15 @@
}
const changeCustomer =  () => {
  const customer = titleUploadData.value.customerId
  titleUploadData.value.customerId = customer['id']
  titleUploadData.value.customerName = customer['customerName']
  titleUploadData.value.project = customer['project']
  titleUploadData.value.salesmanId = customer['salesmanId']
  titleUploadData.value.salesman = customer['salesman']
  titleUploadData.value.contacts = customer['contacts']
  titleUploadData.value.contactNumber = customer['contactNumber']
  projects.value = customer['projectList']
  const changedCustomerId = titleUploadData.value.customerId
  const customer = titleSelectJson.value.customer.filter(item => item.id === changedCustomerId)
  titleUploadData.value.customerName = customer[0].customerName
  titleUploadData.value.project = customer[0].project
  titleUploadData.value.salesmanId = customer[0].salesmanId
  titleUploadData.value.salesman = customer[0].salesman
  titleUploadData.value.contacts = customer[0].contacts
  titleUploadData.value.contactNumber = customer[0].contactNumber
  projects.value = customer[0].projectList
}
const changeSaleMan = () => {
@@ -1526,7 +1526,7 @@
            <el-option v-for="item in titleSelectJson['customer']"
                       :key="item.id"
                       :label="item.id+' '+item.customerName"
                       :value="item"
                       :value="item.id"
                       />
            <template #footer>
              <el-button @click="createCustomerVisible=true"  text bg size="small" >