diff --git a/src/views/invoicing/components/addConsTakin.vue b/src/views/invoicing/components/addConsTakin.vue
index 9d57d43..a82672e 100644
--- a/src/views/invoicing/components/addConsTakin.vue
+++ b/src/views/invoicing/components/addConsTakin.vue
@@ -21,7 +21,7 @@
- 取 消
+ 取 消
确 定
@@ -123,7 +123,7 @@ export default {
let res = await tbConCheck({
conInfoId: this.form.conInfoId,
lpNum: this.profitNumber,
- remark:this.form.remark
+ remark: this.form.remark
});
this.detail.num = this.form.lpNum;
this.form.lpNum = 0;
@@ -136,6 +136,7 @@ export default {
message: `添加成功`,
type: "success"
});
+ this.form.remark = ''
this.getTableData();
} catch (error) {
this.loading = false;
diff --git a/src/views/invoicing/consumable/cons_record.vue b/src/views/invoicing/consumable/cons_record.vue
index a86accf..a9f3c9e 100644
--- a/src/views/invoicing/consumable/cons_record.vue
+++ b/src/views/invoicing/consumable/cons_record.vue
@@ -158,7 +158,7 @@ export default {
});
this.clickseetableData.loading = false;
this.clickseetableData.data = res.content.map(v=>{
- const productIds=v.productId.split(',')
+ const productIds=v.productId?v.productId.split(','):[]
return{
...v,
product:productIds.map((str,index)=>{
diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue
index e1a877d..086484e 100644
--- a/src/views/product/add_shop.vue
+++ b/src/views/product/add_shop.vue
@@ -16,7 +16,7 @@
-
+
@@ -448,6 +448,11 @@ export default {
message: "请输入商品名称"
}
],
+ unitId: [{
+ required: true,
+ trigger: "change",
+ message: "请选择单位"
+ }],
categoryId: [
{
required: true,
diff --git a/src/views/shop/shop_configuration.vue b/src/views/shop/shop_configuration.vue
index 25a5d88..7e53fb1 100644
--- a/src/views/shop/shop_configuration.vue
+++ b/src/views/shop/shop_configuration.vue
@@ -5,7 +5,7 @@
-
+