|
|
@@ -106,7 +106,6 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
chooseSpecType(row, index, type){
|
|
|
- console.log(type)
|
|
|
row[type == 1 ? 'lengthAfter' : 'widthAfter' ]._button = false
|
|
|
// console.log(this.$refs['process-select' + index])
|
|
|
this.$refs['process-select-' + type + '-' + index].$el.children[0].click()
|
|
|
@@ -120,7 +119,6 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
clickDetailUpload(){
|
|
|
- console.log(this.$refs.detailUpload)
|
|
|
let selectRecords = this.$refs.table.getCheckboxRecords()
|
|
|
if (selectRecords.length != 1) {
|
|
|
this.$Message.error('请选择一行明细')
|
|
|
@@ -262,7 +260,6 @@ export const processMixin = {
|
|
|
*/
|
|
|
detailFileOnSuccess (response, file, fileList) {
|
|
|
let selectRecords = this.$refs.table.getCheckboxRecords()
|
|
|
- console.log(response, file, fileList, selectRecords)
|
|
|
this.$Message.success('上传成功')
|
|
|
if (!this.formData.detail[this.detailFileIndex].files) {
|
|
|
this.$set(this.formData.detail[this.detailFileIndex], 'files', [])
|
|
|
@@ -294,7 +291,7 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
fileRemove(file, fileList){
|
|
|
- console.log(file, fileList)
|
|
|
+ // console.log(file, fileList)
|
|
|
this.formData.files = fileList.map(m=>m.name)
|
|
|
},
|
|
|
/**
|
|
|
@@ -346,14 +343,12 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
keydown({ $event }){
|
|
|
- console.log($event)
|
|
|
let _this = this
|
|
|
this.$nextTick(()=>{
|
|
|
if ($event.keyCode == 13) {
|
|
|
let args = _this.$refs.table.editStore.selected.args
|
|
|
// console.log(_this.$refs.table.editStore.selected.args, _this.$refs.table.editStore.selected.args.cell,
|
|
|
// _this.$refs.table.editStore.selected.args.column.property)
|
|
|
- console.log('args', args)
|
|
|
if (!args.cell) {
|
|
|
//合并的表格,将实际显示的td高亮
|
|
|
|
|
|
@@ -434,7 +429,6 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
importSuccess(event){
|
|
|
- console.log(event)
|
|
|
if (event.code == 200){
|
|
|
this.formData.files.push(event.data)
|
|
|
} else {
|
|
|
@@ -513,7 +507,7 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
openGraphicShow(row, rowIndex){
|
|
|
- console.log(row)
|
|
|
+ // console.log(row)
|
|
|
if (row.picture.data){
|
|
|
this.graphicData = row.picture.data
|
|
|
} else {
|
|
|
@@ -580,7 +574,6 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
processItemOk(val, list, index){
|
|
|
- console.log('加工项目表组件确认数据', val, list, index)
|
|
|
this.formData.detail[index].processItemId = val
|
|
|
if (list) {
|
|
|
// for (let it of list){
|
|
|
@@ -636,11 +629,9 @@ export const processMixin = {
|
|
|
* @author H_x_d
|
|
|
*/
|
|
|
goodsOk(list, rowIndex) {
|
|
|
- console.log(list, list instanceof Array)
|
|
|
if (!(list instanceof Array)) {
|
|
|
list = [list]
|
|
|
}
|
|
|
- console.log('商品组件确认数据', list, rowIndex, this.currentTableIndex)
|
|
|
if (list) {
|
|
|
if (rowIndex != null) {
|
|
|
let it = list[0]
|