|
@@ -157,7 +157,7 @@ color: #ABDFFF;">展开</div>
|
|
|
:action="$store.state.ip + '/api/upload'"
|
|
|
>
|
|
|
<div class="upd_file">
|
|
|
- <Icon type="ios-cloud-upload-outline" class="ico" size="30" />
|
|
|
+ <Icon type="ios-cloud-upload-outline" class="ico" size="30" color="black"/>
|
|
|
</div>
|
|
|
</Upload>
|
|
|
</div>
|
|
@@ -284,7 +284,9 @@ export default {
|
|
|
state: true,
|
|
|
is_error: false,
|
|
|
error_data:[],
|
|
|
- text1:[]
|
|
|
+ text1:[],
|
|
|
+ record_state:false,//false未生成发货出库单;true已经生成发货出库单
|
|
|
+ record_send_goods:{}
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -344,9 +346,9 @@ export default {
|
|
|
initData(row) {
|
|
|
this.axios.post('/api/testdwyget', { ...row }).then(res => {
|
|
|
// this.tableData.push(...res.data.data.exe_delivery_note_dtl_b);
|
|
|
- res.data.data.exe_delivery_note_dtl_b.forEach(c=>{
|
|
|
- c.this_delivery_qty -= c.out_qty_total?c.out_qty_total:0
|
|
|
- })
|
|
|
+ // res.data.data.exe_delivery_note_dtl_b.forEach(c=>{
|
|
|
+ // c.this_delivery_qty -= c.out_qty_total?c.out_qty_total:0
|
|
|
+ // })
|
|
|
this.data = res.data;
|
|
|
this.detail = res.data.data.exe_delivery_note_b;
|
|
|
this.modalData.attachment = this.detail.attachment?this.detail.attachment:{attachFile: []};
|
|
@@ -355,12 +357,15 @@ export default {
|
|
|
this.modalData.carrier_phone = this.detail.carrier_phone;
|
|
|
this.modalData.plate_no = this.detail.plate_no;
|
|
|
res.data.data.exe_delivery_note_dtl_b.forEach((element, index) => {
|
|
|
- element.out_qty = 0
|
|
|
- element.product_code = element.material_code
|
|
|
+ element.out_qty = 0;
|
|
|
+ element.product_code = element.material_code;
|
|
|
+ element.sure_id = null;
|
|
|
+ element.dynamic_form_value_id = null;
|
|
|
+ element.unit_price = element.settlement_one_price;
|
|
|
this.total_num = this.total_num + element.this_delivery_qty
|
|
|
// this.transport_total = this.transport_total + element.out_qty
|
|
|
- let product_key = this.deelUniqueProductKey(element)
|
|
|
- if(Object.keys(this.key_tableData).indexOf(product_key) !== -1){
|
|
|
+ let product_key = this.deelUniqueProductKey(element) //把每个产品的key值组合起来
|
|
|
+ if(Object.keys(this.key_tableData).indexOf(product_key) !== -1){//如过有相同的产品合并未发货数量相加
|
|
|
this.key_tableData[product_key].this_delivery_qty += element.this_delivery_qty
|
|
|
} else{
|
|
|
this.key_tableData[product_key] = element
|
|
@@ -369,47 +374,85 @@ export default {
|
|
|
// this.is_box_data.push(this.deelUniqueKey(element));
|
|
|
// }
|
|
|
})
|
|
|
- for (let key in this.key_tableData) {
|
|
|
+ for (let key in this.key_tableData) { //tableData变成了相同产品未发货数量合并后的数据
|
|
|
this.tableData.push(this.key_tableData[key])
|
|
|
}
|
|
|
- // let ji = ['\"425A3030303235\"']
|
|
|
- // console.log(JSON.stringify(ji))
|
|
|
- let text = []
|
|
|
- if (localStorage.getItem('fyy_target')) {
|
|
|
- // console.log(JSON.parse(localStorage.getItem('fyy_target')))
|
|
|
- let target = JSON.parse(localStorage.getItem('fyy_target'))
|
|
|
- localStorage.removeItem('fyy_target')
|
|
|
- // this.$Message.warning(localStorage.getItem('fyy_target'))
|
|
|
- target.forEach(v => {
|
|
|
- v = v.replace(/\"/g, '')
|
|
|
- text.push(this.func.hexToString(v))
|
|
|
+ // this.key_tableData = [];
|
|
|
+ this.axios.post('/api/testdwy', {
|
|
|
+ url: 'http://122.112.250.253:7774/jbl/api/module-data/send_goods_out_dtl/page',
|
|
|
+ post: {
|
|
|
+ debugFlag: true,
|
|
|
+ developmentSystemId: null,
|
|
|
+ direction: "DESC",
|
|
|
+ dynamicFormCode: "send_goods_out",
|
|
|
+ dynamicFormTable: null,
|
|
|
+ fromClientType: "pc",
|
|
|
+ ignoreField: true,
|
|
|
+ number: 0,
|
|
|
+ property: "id",
|
|
|
+ rules: [{
|
|
|
+ field: "bus_id",
|
|
|
+ option: "LIKE_ANYWHERE",
|
|
|
+ values: [this.$route.query.ckId]
|
|
|
+ }],
|
|
|
+ size: 999,
|
|
|
+ sorts: [],
|
|
|
+ specialConditions: [],
|
|
|
+ workflowSearchBean: {}
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ).then(req => {
|
|
|
+ this.record_state = req.data.content.length==0?false:true;
|
|
|
+ if(this.record_state){
|
|
|
+ this.record_send_goods = req.data.content[0].send_goods_out;
|
|
|
+ req.data.content.forEach(v=>{
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(v)].out_qty += v.out_qty
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(v)].this_delivery_qty -= v.out_qty
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(v)].dynamic_form_value_id = v.dynamic_form_value_id;
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(v)].sure_id = v.id;
|
|
|
+ this.scan_num += v.out_qty
|
|
|
+ })
|
|
|
+ }
|
|
|
+ let text = []
|
|
|
+ if (localStorage.getItem('fyy_target')) {
|
|
|
+ // console.log(JSON.parse(localStorage.getItem('fyy_target')))
|
|
|
+ let target = JSON.parse(localStorage.getItem('fyy_target'))
|
|
|
+ localStorage.removeItem('fyy_target')
|
|
|
+ // this.$Message.warning(localStorage.getItem('fyy_target'))
|
|
|
+ target.forEach(v => {
|
|
|
+ v = v.replace(/\"/g, '')
|
|
|
+ text.push(this.func.hexToString(v))
|
|
|
+ })
|
|
|
+ // // console.log(text)
|
|
|
+ }
|
|
|
+ let text1 = localStorage.getItem('text') ? JSON.parse(localStorage.getItem('text')) : []
|
|
|
+ text.forEach(v => {
|
|
|
+ if (text1.indexOf(v) === -1) {
|
|
|
+ text1.push(v)
|
|
|
+ }
|
|
|
})
|
|
|
- // // console.log(text)
|
|
|
- }
|
|
|
- let text1 = localStorage.getItem('text') ? JSON.parse(localStorage.getItem('text')) : []
|
|
|
- text.forEach(v => {
|
|
|
- if (text1.indexOf(v) === -1) {
|
|
|
- text1.push(v)
|
|
|
+ localStorage.setItem('text', JSON.stringify(text1));
|
|
|
+ // text1 = ['BZ01252','BZ01251','BZ01253']
|
|
|
+ const dataBox = {
|
|
|
+ url: 'http://122.112.250.253:7774/jbl/api/module-data/box_orders/box_orders/diy/defective_order_no_list',
|
|
|
+ post: { "defective_order_no_list":text1}
|
|
|
}
|
|
|
+ // const dataBox = {
|
|
|
+ // url: 'http://122.112.250.253:7774/jbl/api/module-data/box_orders/box_orders/diy/defective_order_no_list',
|
|
|
+ // post: { "defective_order_no_list":['BZ00025']}
|
|
|
+ // }
|
|
|
+ this.initDataBox(dataBox)
|
|
|
})
|
|
|
- localStorage.setItem('text', JSON.stringify(text1));
|
|
|
- // text1 = ['BZ00520']
|
|
|
- const dataBox = {
|
|
|
- url: 'http://122.112.250.253:7774/jbl/api/module-data/box_orders/box_orders/diy/defective_order_no_list',
|
|
|
- post: { "defective_order_no_list":text1}
|
|
|
- }
|
|
|
- // const dataBox = {
|
|
|
- // url: 'http://122.112.250.253:7774/jbl/api/module-data/box_orders/box_orders/diy/defective_order_no_list',
|
|
|
- // post: { "defective_order_no_list":['BZ00025']}
|
|
|
- // }
|
|
|
- this.initDataBox(dataBox)
|
|
|
+ // let ji = ['\"425A3030303235\"']
|
|
|
+ // console.log(JSON.stringify(ji))
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
// 扫描数据获取
|
|
|
initDataBox (row) {
|
|
|
this.$Message.warning(row.post["defective_order_no_list"].toString())
|
|
|
this.text1 = row.post["defective_order_no_list"];
|
|
|
- console.log(this.text1)
|
|
|
+ // console.log(this.text1)
|
|
|
this.axios.post('/api/testdwy', { ...row }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$Message.success('请求成功!')
|
|
@@ -429,7 +472,7 @@ export default {
|
|
|
"box_id": element.box_orders.id,
|
|
|
'box_detail': element
|
|
|
}
|
|
|
- this.scan_data.push(object)
|
|
|
+ this.scan_data.push(object)//扫描数据处理
|
|
|
})
|
|
|
this.deelTableData()
|
|
|
}
|
|
@@ -454,14 +497,15 @@ export default {
|
|
|
// console.log(this.deelUniqueProductKey(element),3)
|
|
|
// console.log(this.detail.order_no)
|
|
|
if (this.detail.order_no.indexOf(element.order_no)!=-1&&Object.keys(this.key_tableData).indexOf(this.deelUniqueProductKey(element)) !== -1 && (this.key_tableData[this.deelUniqueProductKey(element)].this_delivery_qty - element.box_num) >= 0) {
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(element)].this_delivery_qty -= element.box_num*1
|
|
|
+ this.key_tableData[this.deelUniqueProductKey(element)].out_qty += element.box_num*1;
|
|
|
let table_data_detail = JSON.parse(JSON.stringify(this.key_tableData[this.deelUniqueProductKey(element)]))
|
|
|
+ table_data_detail.out_qty = element.box_num*1;
|
|
|
table_data_detail.box_orders = element.box_id
|
|
|
table_data_detail.box_orders_show = element.box_no
|
|
|
table_data_detail.box_detail = element.box_detail
|
|
|
- table_data_detail.this_delivery_qty = element.box_num
|
|
|
- table_data_detail.out_qty = element.box_num
|
|
|
- this.key_tableData[this.deelUniqueProductKey(element)].this_delivery_qty -= element.box_num*1
|
|
|
- this.key_tableData[this.deelUniqueProductKey(element)].out_qty += element.box_num*1;
|
|
|
+ // table_data_detail.this_delivery_qty = element.box_num
|
|
|
+ // table_data_detail.out_qty = element.box_num
|
|
|
this.scan_num += element.box_num*1
|
|
|
// is_scan_key[this.deelUniqueProductKey(element)]=1;
|
|
|
// table_data_detail.this_delivery_qty = this.key_tableData[this.deelUniqueProductKey(element)].this_delivery_qty;
|
|
@@ -479,85 +523,115 @@ export default {
|
|
|
// // }
|
|
|
// })
|
|
|
// this.tableData = new_table_data;
|
|
|
+ this.$forceUpdate();
|
|
|
},
|
|
|
handleSureClick () {
|
|
|
this.is_modal = true
|
|
|
},
|
|
|
handelGoSure () {
|
|
|
- this.tableData.forEach((element, index) => {
|
|
|
- element.item_num = (index + 1)
|
|
|
- })
|
|
|
+ // this.tableData.forEach((element, index) => {
|
|
|
+ // element.item_num = (index + 1)
|
|
|
+ // })
|
|
|
const date = new Date()
|
|
|
// eslint-disable-next-line camelcase
|
|
|
const now_time = date.toISOString()
|
|
|
- let data = {
|
|
|
- // auditInfo: null,
|
|
|
- bizId: -1,
|
|
|
- bizTypeEk: 'LOWCODE',
|
|
|
- // businessType: null,
|
|
|
- // createdBy: "473698106823094272",
|
|
|
- createdDate: now_time,
|
|
|
- dynamicFormId: '474057887278641152',
|
|
|
- // extDataId: null,
|
|
|
- // id: "491138208411951104",
|
|
|
- // lastModifiedBy: "473698106823094272",
|
|
|
- // lastModifiedDate: now_time,
|
|
|
- // requestId: null,
|
|
|
- showModelId: '474061442555260928',
|
|
|
- version: 1,
|
|
|
- // versionNo: null,
|
|
|
- data: {
|
|
|
- send_goods_out: {},
|
|
|
- send_goods_out_product: []
|
|
|
+ let data = {}
|
|
|
+ if(this.record_state){
|
|
|
+ data = {
|
|
|
+ // auditInfo: null,
|
|
|
+ bizId: this.record_send_goods.dynamic_form_value_id,
|
|
|
+ id: this.record_send_goods.dynamic_form_value_id,
|
|
|
+ bizTypeEk: 'LOWCODE',
|
|
|
+ // businessType: null,
|
|
|
+ // createdBy: "473698106823094272",
|
|
|
+ createdDate: now_time,
|
|
|
+ dynamicFormId: '474057887278641152',
|
|
|
+ // extDataId: null,
|
|
|
+ // id: "491138208411951104",
|
|
|
+ // lastModifiedBy: "473698106823094272",
|
|
|
+ // lastModifiedDate: now_time,
|
|
|
+ // requestId: null,
|
|
|
+ showModelId: '474061442555260928',
|
|
|
+ version: 1,
|
|
|
+ // versionNo: null,
|
|
|
+ data: {
|
|
|
+ send_goods_out: {},
|
|
|
+ send_goods_out_product: []
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ data.data.send_goods_out = this.record_send_goods;
|
|
|
+ }else {
|
|
|
+ data ={
|
|
|
+ // auditInfo: null,
|
|
|
+ bizId: -1,
|
|
|
+ bizTypeEk: 'LOWCODE',
|
|
|
+ // businessType: null,
|
|
|
+ // createdBy: "473698106823094272",
|
|
|
+ createdDate: now_time,
|
|
|
+ dynamicFormId: '474057887278641152',
|
|
|
+ // extDataId: null,
|
|
|
+ // id: "491138208411951104",
|
|
|
+ // lastModifiedBy: "473698106823094272",
|
|
|
+ // lastModifiedDate: now_time,
|
|
|
+ // requestId: null,
|
|
|
+ showModelId: '474061442555260928',
|
|
|
+ version: 1,
|
|
|
+ // versionNo: null,
|
|
|
+ data: {
|
|
|
+ send_goods_out: {},
|
|
|
+ send_goods_out_product: []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ data.data.send_goods_out = {
|
|
|
+ send_goods_out_no: null,
|
|
|
+ in_out_type: 'CK007',
|
|
|
+ box_title: 'WH05001',
|
|
|
+ out_time: now_time,
|
|
|
+ out_depart: '481280388644478976',
|
|
|
+ out_employee_id: this.employee_code,
|
|
|
+ expect_date_delivery: this.detail.expect_date_delivery,
|
|
|
+ expect_date_arrival: this.detail.expect_date_arrival,
|
|
|
+ delivery_method_dk: this.detail.delivery_method_dk,
|
|
|
+ express_company: null,
|
|
|
+ express_no: null,
|
|
|
+ carrier: this.modalData.carrier, // 司机姓名
|
|
|
+ carrier_phone: this.modalData.carrier_phone, // 司机电话
|
|
|
+ plate_no: this.modalData.plate_no, // 车牌
|
|
|
+ id_number: this.modalData.id_number, // 身份证
|
|
|
+ attachment: this.modalData.attachment,
|
|
|
+ area_selection: this.detail.area_selection,
|
|
|
+ detailed_address: this.detail.detailed_address,
|
|
|
+ contact: this.detail.contact,
|
|
|
+ contact_way: this.detail.contact_way,
|
|
|
+ status: 'NOT_APPROVED',
|
|
|
+ oa_id: null,
|
|
|
+ oa_time: null,
|
|
|
+ remark: null,
|
|
|
+ order_no: this.detail.order_no,
|
|
|
+ site: null,
|
|
|
+ in_out_type_show: '成品发货出库',
|
|
|
+ box_title_show: '成品仓',
|
|
|
+ out_depart_show: '仓储部',
|
|
|
+ out_employee_id_show: this.name,
|
|
|
+ delivery_method_dk_show: this.detail.delivery_method_dk_show,
|
|
|
+ area_selection_show: this.detail.area_selection_show,
|
|
|
+ // attachment: null,
|
|
|
+ // dynamic_form_value_id: this.detail.dynamic_form_value_id,
|
|
|
+ // expect_date_arrival_lt: this.detail.expect_date_arrival_lt,
|
|
|
+ // expect_date_delivery_lt: this.detail.expect_date_delivery_lt,
|
|
|
+ // id: "491138208583917568"
|
|
|
+ // main_table_id: null,
|
|
|
+ // oa_id_show: null,
|
|
|
+ // oa_time_lt: null,
|
|
|
+ // out_time_lt: now_time,
|
|
|
+ // request_id: null,
|
|
|
+ // send_goods_out_no: "FCK2023091700099",
|
|
|
+ // site_show: this.detail.site_show,
|
|
|
+ // status_show: '待审核'
|
|
|
}
|
|
|
}
|
|
|
- data.data.send_goods_out = {
|
|
|
- send_goods_out_no: null,
|
|
|
- in_out_type: 'CK007',
|
|
|
- box_title: 'WH05001',
|
|
|
- out_time: now_time,
|
|
|
- out_depart: '481280388644478976',
|
|
|
- out_employee_id: this.employee_code,
|
|
|
- expect_date_delivery: this.detail.expect_date_delivery,
|
|
|
- expect_date_arrival: this.detail.expect_date_arrival,
|
|
|
- delivery_method_dk: this.detail.delivery_method_dk,
|
|
|
- express_company: null,
|
|
|
- express_no: null,
|
|
|
- carrier: this.modalData.carrier, // 司机姓名
|
|
|
- carrier_phone: this.modalData.carrier_phone, // 司机电话
|
|
|
- plate_no: this.modalData.plate_no, // 车牌
|
|
|
- id_number: this.modalData.id_number, // 身份证
|
|
|
- attachment: this.modalData.attachment,
|
|
|
- area_selection: this.detail.area_selection,
|
|
|
- detailed_address: this.detail.detailed_address,
|
|
|
- contact: this.detail.contact,
|
|
|
- contact_way: this.detail.contact_way,
|
|
|
- status: 'NOT_APPROVED',
|
|
|
- oa_id: null,
|
|
|
- oa_time: null,
|
|
|
- remark: null,
|
|
|
- order_no: this.detail.order_no,
|
|
|
- site: null,
|
|
|
- in_out_type_show: '成品发货出库',
|
|
|
- box_title_show: '成品仓',
|
|
|
- out_depart_show: '仓储部',
|
|
|
- out_employee_id_show: this.name,
|
|
|
- delivery_method_dk_show: this.detail.delivery_method_dk_show,
|
|
|
- area_selection_show: this.detail.area_selection_show,
|
|
|
- // attachment: null,
|
|
|
- // dynamic_form_value_id: this.detail.dynamic_form_value_id,
|
|
|
- // expect_date_arrival_lt: this.detail.expect_date_arrival_lt,
|
|
|
- // expect_date_delivery_lt: this.detail.expect_date_delivery_lt,
|
|
|
- // id: "491138208583917568"
|
|
|
- // main_table_id: null,
|
|
|
- // oa_id_show: null,
|
|
|
- // oa_time_lt: null,
|
|
|
- // out_time_lt: now_time,
|
|
|
- // request_id: null,
|
|
|
- // send_goods_out_no: "FCK2023091700099",
|
|
|
- // site_show: this.detail.site_show,
|
|
|
- // status_show: '待审核'
|
|
|
- }
|
|
|
+ // return console.log(this.new_table_data,123)
|
|
|
this.new_table_data.forEach((element,index) =>{
|
|
|
let box_detail = {
|
|
|
item_num: (index + 1),
|
|
@@ -578,7 +652,7 @@ export default {
|
|
|
bus_id: this.detail.id,
|
|
|
bus_item_id: element.id,
|
|
|
bus_item_no: element.item_no,
|
|
|
- box_orders_product_id:element.box_detail.id,
|
|
|
+ box_orders_product_id: element.box_detail.id,
|
|
|
order_no: element.box_detail.order_no,
|
|
|
out_qty: element.out_qty,
|
|
|
this_delivery_qty: element.out_qty,
|
|
@@ -590,10 +664,10 @@ export default {
|
|
|
dealer_name: element.box_detail.dealer_name,
|
|
|
dealer_no: element.box_detail.dealer_no,
|
|
|
box_orders: element.box_detail.box_orders.id,
|
|
|
- box_orders_show: element.box_detail.box_orders.defective_order_no
|
|
|
+ box_orders_show: element.box_detail.box_orders.defective_order_no,
|
|
|
// site_show: element.box_detail.site_show
|
|
|
- // dynamic_form_value_id: element.box_detail.dynamic_form_value_id,
|
|
|
- // id: "491138208592306176"
|
|
|
+ dynamic_form_value_id: element.dynamic_form_value_id,
|
|
|
+ id:element.sure_id
|
|
|
// lineId: "29E776DE",
|
|
|
// mainKey: "29E776DE",
|
|
|
// main_table_id: "491138208583917568",
|
|
@@ -619,20 +693,40 @@ export default {
|
|
|
}
|
|
|
if(this.state){
|
|
|
this.state = false
|
|
|
- this.axios.post('/api/testdwy', data2).then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.axios.post('/api/testdwy', data1).then(req=>{
|
|
|
- if(req.code === 200){
|
|
|
- this.is_modal = false
|
|
|
- this.$router.go(-1)
|
|
|
+ if(this.record_state){
|
|
|
+ this.axios.post('/api/testdwyget',{url:`http://122.112.250.253:7774/jbl/api/module-data/send_goods_out/send_goods_out/474061443708694528/${this.record_send_goods.dynamic_form_value_id}`}).then(res=> {
|
|
|
+ data.version = res.data.version;
|
|
|
+ this.axios.post('/api/testdwyput', data2).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.axios.post('/api/testdwy', data1).then(req=>{
|
|
|
+ if(req.code === 200){
|
|
|
+ this.is_modal = false
|
|
|
+ this.$router.go(-1)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.$Message.success(res.msg)
|
|
|
}
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.state = true
|
|
|
+ },5000)
|
|
|
})
|
|
|
- this.$Message.success(res.msg)
|
|
|
- }
|
|
|
- setTimeout(()=>{
|
|
|
- this.state = true
|
|
|
- },5000)
|
|
|
- })
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ this.axios.post('/api/testdwy', data2).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.axios.post('/api/testdwy', data1).then(req=>{
|
|
|
+ if(req.code === 200){
|
|
|
+ this.is_modal = false
|
|
|
+ this.$router.go(-1)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.$Message.success(res.msg)
|
|
|
+ }
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.state = true
|
|
|
+ },5000)
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
// console.log(JSON.stringify(this.data))
|
|
|
},
|
|
@@ -640,10 +734,10 @@ export default {
|
|
|
localStorage.removeItem('fyy_target')
|
|
|
this.$router.push('/cms/finish')
|
|
|
},
|
|
|
- handleChoose(item, index) {
|
|
|
- item.is_choose = !item.is_choose
|
|
|
- this.tableData.splice(index, 1, item)
|
|
|
- },
|
|
|
+ // handleChoose(item, index) {
|
|
|
+ // item.is_choose = !item.is_choose
|
|
|
+ // this.tableData.splice(index, 1, item)
|
|
|
+ // },
|
|
|
handleShow() {
|
|
|
this.is_show = !this.is_show
|
|
|
// console.log(document.getElementsByClassName('header'))
|