|
@@ -689,7 +689,7 @@ export default {
|
|
|
|
|
|
/**
|
|
|
* 加载客户选项列表
|
|
|
- * @param {string} [keyword=''] - 搜索关键词
|
|
|
+ * @param {string} keyword - 搜索关键词
|
|
|
* @returns {Promise<void>}
|
|
|
*/
|
|
|
async loadCustomerOptions(keyword = '') {
|
|
@@ -708,7 +708,7 @@ export default {
|
|
|
if (response.data && response.data.success) {
|
|
|
const customers = response.data.data.records || []
|
|
|
this.customerOptions = customers.map(customer => ({
|
|
|
- value: customer.Customer_ID,
|
|
|
+ value: customer.Customer_ID.toString(), // 修改这里:统一转换为字符串
|
|
|
label: `${customer.Customer_CODE} - ${customer.Customer_NAME}`,
|
|
|
customerCode: customer.Customer_CODE,
|
|
|
customerName: customer.Customer_NAME,
|