diff --git a/klp-ui/package.json b/klp-ui/package.json
index 1e2ce6fc..1250f72d 100644
--- a/klp-ui/package.json
+++ b/klp-ui/package.json
@@ -9,7 +9,8 @@
"build:prod": "vue-cli-service build",
"stage": "vue-cli-service serve --mode stage",
"preview": "node build/index.js --preview",
- "lint": "eslint --ext .js,.vue src"
+ "lint": "eslint --ext .js,.vue src",
+ "test": "vitest"
},
"husky": {
"hooks": {
@@ -79,6 +80,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
+ "@vitest/browser": "^4.0.14",
"@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6",
@@ -93,11 +95,13 @@
"eslint": "7.15.0",
"eslint-plugin-vue": "7.2.0",
"lint-staged": "10.5.3",
+ "playwright": "^1.57.0",
"runjs": "4.4.2",
"sass": "1.32.13",
"sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5",
"svg-sprite-loader": "5.1.1",
+ "vitest": "^4.0.14",
"vue-template-compiler": "2.6.12"
},
"engines": {
diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue
index 48e24a4e..3a4707a5 100644
--- a/klp-ui/src/components/KLPService/ProductSelect/index.vue
+++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue
@@ -27,7 +27,16 @@
@keyup.enter.native="handleQuery" />
-
+
+
+
+
+
+
+
+
+
+
搜索
@@ -78,9 +87,13 @@
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/delivery/waybill/index.vue b/klp-ui/src/views/wms/delivery/waybill/index.vue
index 12411684..a3b89640 100644
--- a/klp-ui/src/views/wms/delivery/waybill/index.vue
+++ b/klp-ui/src/views/wms/delivery/waybill/index.vue
@@ -2,18 +2,12 @@
-
-
-
-
+
+
+
+
{{ data.planName }}
@@ -21,65 +15,71 @@
-
+ :limit.sync="planQueryParams.pageSize" @pagination="getPlanList" style="margin-top: 10px;"
+ layout="total, prev, jumper, next" />
+
-
-
-
-
-
-
-
-
- 搜索
- 重置
- 新增
- 刷新
- 导出
-
-
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 新增
+ 刷新
+ 导出
+
+
-
-
-
-
-
-
-
- {{ parseTime(scope.row.deliveryTime, '{y}-{m}-{d}') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.deliveryTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 打印发货单
+ 修改
+ 删除
+
+
+
-
+
-
+
+
+
+
-
@@ -126,20 +126,34 @@
取 消
+
+
+
+
+