diff --git a/src/common/model/goods/Index.js b/src/common/model/goods/Index.js
index 34898e3..fb426d6 100644
--- a/src/common/model/goods/Index.js
+++ b/src/common/model/goods/Index.js
@@ -95,7 +95,7 @@ export default {
'status', 'spec_type', 'deduct_stock_type', 'is_restrict', 'content',
'selling_point', 'serviceIds', 'sales_initial', 'is_points_gift',
'is_points_discount', 'is_enable_grade', 'is_alone_grade', 'is_ind_dealer',
- 'dealer_money_type', 'first_money', 'second_money', 'third_money'
+ 'dealer_money_type', 'first_money', 'second_money', 'third_money', 'cmmdty_model','is_check','goods_source','delivery_time'
])
return {
...goodsFormData,
diff --git a/src/views/goods/Create.vue b/src/views/goods/Create.vue
index 95299f7..22bf377 100644
--- a/src/views/goods/Create.vue
+++ b/src/views/goods/Create.vue
@@ -24,6 +24,12 @@
v-decorator="['goods_name', { rules: [{ required: true, min: 2, message: '请输入至少2个字符' }] }]"
/>
+
+
+
-
+
+
+ 京东
+ 苏宁
+ 天猫
+ 工厂
+ 仓配
+ 自采
+ 店内
+
+
+
+
+ 24小时
+ 48小时
+ 72小时
+ 7天内
+ 15天内
+ 30天内
+ 45天内
+
+
否
@@ -65,6 +92,12 @@
是
+
+
+ 否
+ 是
+
+
否
diff --git a/src/views/goods/Update.vue b/src/views/goods/Update.vue
index d59978d..abcacf7 100644
--- a/src/views/goods/Update.vue
+++ b/src/views/goods/Update.vue
@@ -25,6 +25,12 @@
v-decorator="['goods_name', { rules: [{ required: true, min: 2, message: '请输入至少2个字符' }] }]"
/>
+
+
+
-
+
+
+ 京东
+ 苏宁
+ 天猫
+ 工厂
+ 仓配
+ 自采
+ 店内
+
+
+
+
+ 24小时
+ 48小时
+ 72小时
+ 7天内
+ 15天内
+ 30天内
+ 45天内
+
+
否
@@ -67,6 +94,12 @@
是
+
+
+ 否
+ 是
+
+
否
@@ -529,7 +562,7 @@ export default {
Ueditor,
InputNumberGroup,
MultiSpec,
- AreasModal
+ AreasModal,
},
data() {
return {
@@ -650,7 +683,8 @@ export default {
e.preventDefault()
// 表单验证
const {
- form: { validateFields },ruleList
+ form: { validateFields },
+ ruleList,
} = this
validateFields((errors, values) => {
// 定位到错误的tab选项卡
@@ -725,8 +759,8 @@ export default {
})
.finally(() => (this.isLoading = false))
},
- // 新增记录
- handleAdd() {
+ // 新增记录
+ handleAdd() {
const index = this.ruleList.length
const newItem = { ...defaultItem, key: index }
// 排除的城市id集(已存在的城市id集)
@@ -792,4 +826,3 @@ export default {
-