Commit efb6cd8b authored by 黄奎's avatar 黄奎

页面修改

parent f3dd7192
......@@ -282,8 +282,8 @@
<!-- 选择运费 -->
<el-dialog title="选择运费" top="2%" :modal="false" :modal-append-to-body='false' :visible.sync="isShowFreight"
width="25%">
<div>
<el-radio-group v-model="val">
<div style="height:300px;overflow-y:auto">
<el-radio-group v-model="freightval">
<el-radio @change="chooseFreight" class="yfradio" v-for="(item,index) in freightRuleList" :key="index"
:label="item">
{{item.RulesName}}</el-radio>
......@@ -296,15 +296,14 @@
</el-dialog>
</div>
</template>
<script>
export default {
name: "quickBuy",
name: "serviceProduct",
data() {
return {
isShowFreight: false, //是否显示运费设置弹窗
isShowBatchEdit: false, //是否显示批量设置弹窗
val: '',
freightval: '', //运费选择
dateList: [], //查询时间段
activeName: 'first',
msg: {
......@@ -338,11 +337,6 @@
UpdateType: 1,
},
rules: {
CategoryIdNew: [{
required: true,
message: '分类不能为空',
trigger: 'change'
}],
Sort: [{
required: true,
message: '请输入排序',
......@@ -491,29 +485,28 @@
}
let idList = [];
this.GoodsIds.forEach(item => {
idList.push(item.Id)
idList.push(item.Id);
})
this.keepGoodsIds = idList.join(',');
this.plszMsg.GoodsIds = this.keepGoodsIds;
this.plszMsg.SupplierId = ''
this.plszMsg.SupplierId = '';
this.isShowBatchEdit = true;
},
//清空批量设置类型
ClearSelect(type) {
this.plszMsg = {
GoodsIds: this.keepGoodsIds,
Type: type,
FreightId: 0,
LimitBuyGoodsNum: -1,
LimitBuyOrderNum: -1,
IntegralPresent: 0,
IntegralPresentType: 2,
PointsDeduction: 0,
PointsDeductionType: 2,
IsMultipleDeduction: 2,
IsQuickBuy: 2,
IsGoodsNegotiable: 2,
SupplierId: ''
}
this.plszMsg.GoodsIds = this.keepGoodsIds;
this.plszMsg.Type = type;
this.plszMsg.FreightId = 0;
this.plszMsg.LimitBuyGoodsNum = -1;
this.plszMsg.LimitBuyOrderNum = -1;
this.plszMsg.IntegralPresent = 0;
this.plszMsg.PointsDeduction = 0;
this.plszMsg.IntegralPresentType = 2;
this.plszMsg.PointsDeductionType = 2;
this.plszMsg.IsMultipleDeduction = 2;
this.plszMsg.IsQuickBuy = 2;
this.plszMsg.IsGoodsNegotiable = 2;
this.plszMsg.SupplierId = '';
},
//运费选中
chooseFreight(val) {
......@@ -550,13 +543,9 @@
str = "是否确认删除选中的商品?";
}
let that = this;
that.$confirm(str, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.commonSet(msg);
}).catch(() => {});
that.Confirm(str, function () {
that.commonSet(msg);
});
},
Edit(row, num) {
let editMsg = {
......@@ -689,6 +678,7 @@
}
})
},
//获取运费规则
getRule() {
let qRuleMsg = {
pageIndex: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment