|
@@ -44,6 +44,12 @@
|
|
<el-switch v-model="form.whether" :disabled="disabled || isWhether" active-text="是"
|
|
<el-switch v-model="form.whether" :disabled="disabled || isWhether" active-text="是"
|
|
inactive-text="否" active-value="1" inactive-value="0" />
|
|
inactive-text="否" active-value="1" inactive-value="0" />
|
|
</template>
|
|
</template>
|
|
|
|
+ <template slot="whetherIntegral" slot-scope="{disabled}">
|
|
|
|
+ <!--<el-switch v-model="form.whetherIntegral" active-text="是" inactive-text="否" active-value="1" inactive-value="0" @change="whetherChange"/>-->
|
|
|
|
+ <el-switch v-model="form.whetherIntegral" :disabled="disabled" active-text="是"
|
|
|
|
+ inactive-text="否" active-value="1" inactive-value="0" />
|
|
|
|
+ </template>
|
|
|
|
+
|
|
<template slot="explosionProof" slot-scope="{disabled}">
|
|
<template slot="explosionProof" slot-scope="{disabled}">
|
|
<!--<el-switch v-model="form.explosionProof" :disabled="disabled" active-text="是" inactive-text="否"-->
|
|
<!--<el-switch v-model="form.explosionProof" :disabled="disabled" active-text="是" inactive-text="否"-->
|
|
<!-- active-value="1" inactive-value="0" />-->
|
|
<!-- active-value="1" inactive-value="0" />-->
|
|
@@ -484,6 +490,35 @@ export default {
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ label: "是否积分商品",
|
|
|
|
+ prop: "whetherIntegral",
|
|
|
|
+ labelWidth: 120,
|
|
|
|
+ span: 8,
|
|
|
|
+ rules: [{
|
|
|
|
+ required: true,
|
|
|
|
+ message: " ",
|
|
|
|
+ trigger: "blur"
|
|
|
|
+ }]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: "兑换积分(推荐人)",
|
|
|
|
+ prop: "referenceIntegral",
|
|
|
|
+ labelWidth: 120,
|
|
|
|
+ span: 8
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: "兑换积分(业务员)",
|
|
|
|
+ prop: "salesmanIntegral",
|
|
|
|
+ labelWidth: 120,
|
|
|
|
+ span: 8
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: "兑换积分",
|
|
|
|
+ prop: "integral",
|
|
|
|
+ span: 8
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
label: "备注",
|
|
label: "备注",
|
|
prop: "remarks",
|
|
prop: "remarks",
|
|
type: "textarea",
|
|
type: "textarea",
|