Commit 93e7aabf by 罗承锋

添加销售时段

parent 2d7610a9
......@@ -235,6 +235,7 @@
dataIndex: 'orderType', width: 200, title: '订单类型', align: "center",
scopedSlots: {customRender: "orderTypeScope"}
},
{dataIndex: "preType", width:200, title:'销售时段', align : "center"},
{dataIndex: 'networkName', width: 200, title: '所属网点', align: "center"},
{dataIndex: 'networkCode', width: 200, title: '网点编码', align: "center"},
{
......
......@@ -160,7 +160,7 @@
/>
</template>
</a-form-item>
<a-form-item :labelCol="{span: 6}" :wrapperCol="{span: 8, offset: 1}" label="客二维码">
<a-form-item :labelCol="{span: 6}" :wrapperCol="{span: 8, offset: 1}" label="客二维码">
<a-upload
ref="upload"
:action=uploadUrl
......@@ -545,6 +545,7 @@
//查询中间表
choosepages(choosepagespare).then(res=>{
console.log(res);
if (res.state == 'success'){
let d= res.data.choosepages
for (let i = 0; i <d.length ; i++) {
......@@ -613,18 +614,20 @@
this.modifyForm.schoolName = values.schoolName
this.modifyForm.netId = values.netId
this.modifyForm.lzgh = values.lzgh
this.modifyForm.bandproductId = values.bandproductId
this.modifyForm.bandproductId = values.bandproductId == undefined ? "" : values.bandproductId
this.modifyForm.chosePages = ""
this.modifyForm.startDateStr = this.modifyForm.startDate;
this.modifyForm.endDateStr = this.modifyForm.endDate;
// 日期类型不传入后端
Vue.delete(this.modifyForm,'startDate');
Vue.delete(this.modifyForm,'endDate');
this.modifyForm.greaterFifty = values.greaterFifty == undefined ? 0 : values.greaterFifty
this.modifyForm.greaterHundred = values.greaterHundred == undefined ? 0 : values.greaterHundred
this.modifyForm.greaterFifty = values.greaterFifty == undefined ? "" : values.greaterFifty
this.modifyForm.greaterHundred = values.greaterHundred == undefined ? "" : values.greaterHundred
this.modifyForm.isShowrh = (this.checkedKeys.indexOf("isShowrh") > -1) ? 1 : 0;
this.modifyForm.isShowband = (this.checkedKeys.indexOf("isShowband") > -1) ? 1 : 0;
this.modifyForm.netPhone = (this.checkedKeys.indexOf("netPhone") > -1) ? 1 : 0;
this.modifyForm.isRecv = (this.checkedKeys.indexOf("isRecv") > -1) ? 1 : 0;
console.log(this.chosePages);
this.chosePages.forEach(value => {
if (value!=undefined){
this.modifyForm.chosePages=value+","+this.modifyForm.chosePages
......
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