|
@@ -286,6 +286,12 @@
|
|
|
<el-radio :label="item.dictValue" v-for="item in statusOptions" >{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="运费模板" prop="templateId">
|
|
|
+ <el-select v-model="form.templateId" class="mr20">
|
|
|
+ <el-option v-for="(item,index) in templateList" :value="item.id" :key="index" :label="item.name">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="分期赠送优惠券" prop="icgEnable" v-hasPermi="['store:storeProductPackage:edit:coupon']">
|
|
|
<el-radio-group v-model="icgEnableModel">
|
|
|
<el-radio :label="item.dictValue" v-for="item in icgEnableOptions" >{{item.dictLabel}}</el-radio>
|
|
@@ -332,6 +338,7 @@ import productAttrValueSelect from "../components/productAttrValueSelect";
|
|
|
import Material from '@/components/Material'
|
|
|
import singleImg from '@/components/Material/single'
|
|
|
import {listAllAvailable} from "../../../api/store/storeCouponIssue";
|
|
|
+import {getAllShippingTemplates} from "../../../api/store/shippingTemplates";
|
|
|
export default {
|
|
|
name: "StoreProductPackage",
|
|
|
components: {
|
|
@@ -355,6 +362,7 @@ export default {
|
|
|
cateOptions:[],
|
|
|
photoArr:[],
|
|
|
imageArr:[],
|
|
|
+ templateList:[],
|
|
|
storePayTypeOptions:[],
|
|
|
icgEnableOptions: [],
|
|
|
totalMoney:0.00,
|
|
@@ -436,7 +444,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
-
|
|
|
+ getAllShippingTemplates().then(response => {
|
|
|
+ this.templateList =response.data;
|
|
|
+ });
|
|
|
this.getDicts("common_status").then((response) => {
|
|
|
this.statusOptions = response.data;
|
|
|
});
|