代码更新
This commit is contained in:
@@ -170,14 +170,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="material_name" label="物料名称" align="center" min-width="150px" show-overflow-tooltip />
|
<el-table-column prop="material_name" label="物料名称" align="center" min-width="150px" show-overflow-tooltip />
|
||||||
<el-table-column prop="box_no" label="箱号" align="center" min-width="150px" show-overflow-tooltip />
|
<el-table-column prop="box_no" label="箱号" align="center" min-width="250px" show-overflow-tooltip />
|
||||||
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷号" align="center">
|
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷号" width="150px" align="center">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<el-input v-show="!scope.row.edit" v-model="scope.row.pcsn" size="mini" />
|
<el-input v-show="!scope.row.edit" v-model="scope.row.pcsn" size="mini" />
|
||||||
<span v-show="scope.row.edit">{{ scope.row.pcsn }}</span>
|
<span v-show="scope.row.edit">{{ scope.row.pcsn }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column show-overflow-tooltip prop="sap_pcsn" label="sap批次号" align="center" />
|
<el-table-column show-overflow-tooltip prop="sap_pcsn" label="sap批次号" width="140px" align="center" />
|
||||||
<el-table-column prop="plan_qty" label="出库重量" width="150" align="center">
|
<el-table-column prop="plan_qty" label="出库重量" width="150" align="center">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<el-input-number v-show="!scope.row.edit" v-model="scope.row.plan_qty" :precision="3" :controls="false" :min="1" style="width: 120px" />
|
<el-input-number v-show="!scope.row.edit" v-model="scope.row.plan_qty" :precision="3" :controls="false" :min="1" style="width: 120px" />
|
||||||
|
|||||||
@@ -309,21 +309,20 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
checkoutbill.getInvTypes().then(res => {
|
|
||||||
this.invtypelist = res
|
|
||||||
})
|
|
||||||
const area_type = '1585167595403874304'
|
|
||||||
|
|
||||||
crudPoint.getPoint({ 'area_type': area_type }).then(res => {
|
|
||||||
this.pointlist = res
|
|
||||||
})
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
open() {
|
open() {
|
||||||
crudUserStor.getSect({ 'stor_id': this.storId }).then(res => {
|
crudUserStor.getSect({ 'stor_id': this.storId }).then(res => {
|
||||||
this.sects = res.content
|
this.sects = res.content
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const area_type = '1585167595403874304'
|
||||||
|
crudPoint.getPoint({ 'area_type': area_type }).then(res => {
|
||||||
|
this.pointlist = res
|
||||||
|
})
|
||||||
|
|
||||||
|
checkoutbill.getInvTypes().then(res => {
|
||||||
|
this.invtypelist = res
|
||||||
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$refs['form2'].resetFields()
|
this.$refs['form2'].resetFields()
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
openParam: {
|
openParamMoney: {
|
||||||
type: Object
|
type: Object
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -152,7 +152,7 @@ export default {
|
|||||||
dialogShow: {
|
dialogShow: {
|
||||||
handler(newValue, oldValue) {
|
handler(newValue, oldValue) {
|
||||||
this.dialogVisible = newValue
|
this.dialogVisible = newValue
|
||||||
this.formMst = this.openParam
|
this.formMst = this.openParamMoney
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -246,7 +246,7 @@
|
|||||||
<ViewDialog :dialog-show.sync="viewShow" :rowmst="mstrow" @AddChanged="querytable" />
|
<ViewDialog :dialog-show.sync="viewShow" :rowmst="mstrow" @AddChanged="querytable" />
|
||||||
<DivDialog :dialog-show.sync="divShow" :open-array="openParam" :stor-id="storId" :rowmst="mstrow" @DivChanged="querytable" />
|
<DivDialog :dialog-show.sync="divShow" :open-array="openParam" :stor-id="storId" :rowmst="mstrow" @DivChanged="querytable" />
|
||||||
<TaskDialog :dialog-show.sync="taskShow" :open-array="openParam" :rowmst="mstrow" @TaskChanged="querytable" />
|
<TaskDialog :dialog-show.sync="taskShow" :open-array="openParam" :rowmst="mstrow" @TaskChanged="querytable" />
|
||||||
<MoneyDialog :dialog-show.sync="openMoneyDialog" :open-param="openParam" />
|
<MoneyDialog :dialog-show.sync="openMoneyDialog" :open-param-money="openParamMoney"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -262,8 +262,6 @@ import MoneyDialog from '@/views/wms/st/outbill/MoneyDialog'
|
|||||||
import DivDialog from '@/views/wms/st/outbill/DivDialog'
|
import DivDialog from '@/views/wms/st/outbill/DivDialog'
|
||||||
import TaskDialog from '@/views/wms/st/outbill/TaskDialog'
|
import TaskDialog from '@/views/wms/st/outbill/TaskDialog'
|
||||||
import ViewDialog from '@/views/wms/st/outbill/ViewDialog'
|
import ViewDialog from '@/views/wms/st/outbill/ViewDialog'
|
||||||
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
|
|
||||||
import { getLodop } from '@/assets/js/lodop/LodopFuncs'
|
|
||||||
import { download } from '@/api/data'
|
import { download } from '@/api/data'
|
||||||
import { downloadFile } from '@/utils'
|
import { downloadFile } from '@/utils'
|
||||||
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
|
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
|
||||||
@@ -299,6 +297,7 @@ export default {
|
|||||||
work_flag: true,
|
work_flag: true,
|
||||||
confirm_flag: true,
|
confirm_flag: true,
|
||||||
openParam: [],
|
openParam: [],
|
||||||
|
openParamMoney: null,
|
||||||
mstrow: {},
|
mstrow: {},
|
||||||
viewShow: false,
|
viewShow: false,
|
||||||
currentRow: null,
|
currentRow: null,
|
||||||
@@ -413,7 +412,7 @@ export default {
|
|||||||
this.handleCurrentChange(null)
|
this.handleCurrentChange(null)
|
||||||
},
|
},
|
||||||
openMoney(row) {
|
openMoney(row) {
|
||||||
this.openParam = row
|
this.openParamMoney = row
|
||||||
this.openMoneyDialog = true
|
this.openMoneyDialog = true
|
||||||
},
|
},
|
||||||
printExcel(jo) {
|
printExcel(jo) {
|
||||||
|
|||||||
Reference in New Issue
Block a user