From 9b0735300fe6816dff31f682600973d23ac4c4f6 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Sun, 31 Mar 2024 22:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplier/products/supProductsAdd.vue | 137 ++++++++++++++---- 1 file changed, 108 insertions(+), 29 deletions(-) diff --git a/src/views/supplier/products/supProductsAdd.vue b/src/views/supplier/products/supProductsAdd.vue index 30804be..db6aac5 100644 --- a/src/views/supplier/products/supProductsAdd.vue +++ b/src/views/supplier/products/supProductsAdd.vue @@ -32,91 +32,91 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -327,7 +327,14 @@ export default { cplx: null, cpms: null, thirdSysFk: null, - cpdls: null + purType: null, + attributeType: null, + basicPrductRemak6: null, + basicPrductRemak8: null, + basicPrductRemak7: null, + price: null, + + }, thirdSys: [], hsflOptions: [], @@ -343,13 +350,85 @@ export default { remarkTitle8: "备注字段8", }, rules: { - customerId: [ + name: [{required: true, message: "请输入产品名称", trigger: 'blur'}], + spec: [ + { + required: true, + message: "请输入规格型号", + trigger: "blur" + } + ], + measname: [ + { + required: true, + message: "请输入计量单位", + trigger: "blur" + } + ], + manufactory: [ + { + required: true, + message: "请输入生产企业", + trigger: "blur" + } + ], + registerNo: [ + { + required: true, + message: "请输入注册证号", + trigger: "blur" + } + ], + ybbm: [ + { + required: true, + message: "请输入医保编码", + trigger: "blur" + } + ], + price: [ + { + required: true, + message: "请输入产品价格", + trigger: "blur" + } + ], + purType: [ { required: true, - message: "请选择供应商", + message: "请选择采购类型", + trigger: "change" + } + ], + attributeType: [ + { + required: true, + message: "请选择产品属性", + trigger: "change" + } + ], + basicPrductRemak6: [ + { + required: true, + message: "请选择是否收费", + trigger: "change" + } + ], + basicPrductRemak7: [ + { + + required: true, + message: "请选择物资类别", trigger: "change" } ], + // basicPrductRemak8: [ + // { + // required: this.newProductData!=null && this.newProductData.basicPrductRemak6 != null, + // message: "请选择物价类别", + // trigger: "change" + // } + // ] } }