【模版目录】更新

This commit is contained in:
吴昊天 2026-06-26 14:36:30 +08:00
parent 20c61319c4
commit 7d90c314d1

View File

@ -715,7 +715,7 @@ export default {
id: 0,
product_id: row.id,
temp_id: row.temp_id,
logistics: row.temp_id ? row.temp_id : ['1'], //选择物流方式
logistics: ['1'], //选择物流方式
freight: row.freight, //运费设置
postage: row.postage, //设置运费金额
custom_form: row.custom_form, //自定义表单数据
@ -763,6 +763,9 @@ export default {
let that = this;
let info = res.data.info;
this.formValidate = info;
if (!Array.isArray(this.formValidate.logistics)) {
this.formValidate.logistics = ['1'];
}
this.formValidate.rule = info.rule === null ? '' : info.rule;
this.$set(this.formValidate, 'items', info.attrs.items);
this.description = this.formValidate.description;