add code
This commit is contained in:
parent
6a5bfb80f6
commit
bbea392a03
|
@ -522,7 +522,8 @@ export default {
|
||||||
searchList:{},
|
searchList:{},
|
||||||
searchField:{},
|
searchField:{},
|
||||||
doc:{},
|
doc:{},
|
||||||
myDiv: null
|
myDiv: null,
|
||||||
|
orderType:0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -624,6 +625,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.searchList = data.data.searchExt
|
this.searchList = data.data.searchExt
|
||||||
let order_id = data.data.searchExt['order_id']
|
let order_id = data.data.searchExt['order_id']
|
||||||
|
this.orderType = data.data.searchExt['order_type_id']
|
||||||
this.handleGenerate('imgCode', order_id)
|
this.handleGenerate('imgCode', order_id)
|
||||||
let orderData = data.data.orderExt.productList
|
let orderData = data.data.orderExt.productList
|
||||||
let data3 = response3.data
|
let data3 = response3.data
|
||||||
|
@ -665,7 +667,7 @@ export default {
|
||||||
const ccc = this.instance.command.getValue()
|
const ccc = this.instance.command.getValue()
|
||||||
//console.log(ccc)
|
//console.log(ccc)
|
||||||
localStorage.setItem('word_data', JSON.stringify(ccc.data))
|
localStorage.setItem('word_data', JSON.stringify(ccc.data))
|
||||||
let saveData = {'type':1, 'field_style':ccc.data}
|
let saveData = {'type':this.orderType, 'field_style':ccc.data}
|
||||||
let api = '/api/Administrator/OrderFieldStyle/save'
|
let api = '/api/Administrator/OrderFieldStyle/save'
|
||||||
axios.post(api, saveData).then((res) => {
|
axios.post(api, saveData).then((res) => {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user