From efba375d598b69f1b426594e11032e3ef632426a Mon Sep 17 00:00:00 2001 From: "ruofei.yu" Date: Thu, 4 Sep 2025 23:26:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Modify=20the=20import=20primary=20key?= =?UTF-8?q?=20for=20"=E4=BF=9D=E5=85=BB=E8=AE=A1=E5=88=92"=20and=20modify?= =?UTF-8?q?=20the=20default=20display=20key=20for=20"=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E9=80=9A=E7=9F=A5"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/salesAPI.js | 14 +++++++------- src/pages/scm/sales/delivery_note/index.vue | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/api/salesAPI.js b/src/api/salesAPI.js index b78418a..30a5fab 100644 --- a/src/api/salesAPI.js +++ b/src/api/salesAPI.js @@ -21,13 +21,13 @@ const salesAPI = { case 'project': url ="/apis/project/importExcel"; break; - case 'upkeepPlan': - url ="/apis/upkeepPlan/importExcel"; - break; - case 'xqgl': - url ="/apis/mdh/xqgl/importExcel"; - break; - default:'' + case 'upkeep': + url ="/apis/upkeepPlan/importExcel"; + break; + case 'xqgl': + url ="/apis/mdh/xqgl/importExcel"; + break; + default:'' } return axios.post(`${base.url}${url}`, param, { headers: { diff --git a/src/pages/scm/sales/delivery_note/index.vue b/src/pages/scm/sales/delivery_note/index.vue index 96fa780..0476352 100644 --- a/src/pages/scm/sales/delivery_note/index.vue +++ b/src/pages/scm/sales/delivery_note/index.vue @@ -367,9 +367,9 @@ export default { {title: "物料名称", prop_: "materielName", select: true}, {title: "规格型号", prop_: "specification", select: true}, {title: "主计量单位", prop_: "unitUomName", select: true}, - {title: "主单位数量", prop_: "deliveryCount", select: true}, + {title: "主单位数量", prop_: "deliveryCount", select: false}, {title: "辅助单位", prop_: "supportUomName", select: false}, - {title: "发货数量", prop_: "deliveryCountSupport", select: false}, + {title: "发货数量", prop_: "deliveryCountSupport", select: true}, {title: "销售单价", prop_: "sellUnitPrice", select: false}, {title: "销售金额", prop_: "sellAmount", select: false}, {title: "部门", prop_: "deptName", select: false}, @@ -387,9 +387,9 @@ export default { {title: "物料名称", prop_: "materielName", select: true}, {title: "规格型号", prop_: "specification", select: true}, {title: "主计量单位", prop_: "unitUomName", select: true}, - {title: "主单位数量", prop_: "deliveryCount", select: true}, + {title: "主单位数量", prop_: "deliveryCount", select: false}, {title: "辅助单位", prop_: "supportUomName", select: false}, - {title: "发货数量", prop_: "deliveryCountSupport", select: false}, + {title: "发货数量", prop_: "deliveryCountSupport", select: true}, {title: "销售单价", prop_: "sellUnitPrice", select: false}, {title: "销售金额", prop_: "sellAmount", select: false}, {title: "部门", prop_: "deptName", select: false},