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"
+ // }
+ // ]
}
}