diff --git a/package.json b/package.json index f91c1d7..7bb17a2 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "fuse.js": "3.4.4", "js-beautify": "^1.10.2", "js-cookie": "2.2.0", + "js-md5": "^0.8.3", "jsencrypt": "^3.0.0-rc.1", "jszip": "^3.7.1", "material-components-vue": "^1.2.0", diff --git a/src/views/invoicing/consumable/information.vue b/src/views/invoicing/consumable/information.vue index 358dd15..23b6078 100644 --- a/src/views/invoicing/consumable/information.vue +++ b/src/views/invoicing/consumable/information.vue @@ -106,22 +106,42 @@ - - - - - 去选择 + + + + + + + + - - - - + + - + 取 消 - + 确 定 @@ -296,11 +316,11 @@ export default { conCode: "", conName: "", conTypeId: "", - price: "", + price: "0", conNames: "", // surplusStock: '', conUnit: "", - conWarning: "", + conWarning: "999", shopId: localStorage.getItem("shopId") }, rules: { @@ -310,7 +330,7 @@ export default { conName: [ { required: true, message: "请输入耗材信息名称", trigger: "blur" } ], - conNames: [ + conTypeId: [ { required: true, message: "请选择耗材类型", trigger: "blur" } ], price: [{ required: true, message: "请输入耗材价格", trigger: "blur" }], @@ -404,6 +424,7 @@ export default { this.tableData.loading = false; this.tableData.data = res.content; this.tableData.total = res.totalElements; + } catch (error) { console.log(error); } @@ -493,6 +514,7 @@ export default { this.dialogshow = false; } else { //添加 + console.log(this.ruleForm,'调试') await posttbConsInfo({ ...this.ruleForm }); diff --git a/src/views/shop/components/securitySetting.vue b/src/views/shop/components/securitySetting.vue index e68bc36..ca32b64 100644 --- a/src/views/shop/components/securitySetting.vue +++ b/src/views/shop/components/securitySetting.vue @@ -2,8 +2,8 @@
- + 重置 @@ -20,6 +20,7 @@