代码更新

This commit is contained in:
2022-12-17 15:34:48 +08:00
parent dad20a4a99
commit feeddcb824
4 changed files with 17 additions and 19 deletions

View File

@@ -170,14 +170,14 @@
</template>
</el-table-column>
<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 show-overflow-tooltip prop="pcsn" label="子卷号" align="center">
<el-table-column prop="box_no" label="箱号" align="center" min-width="250px" show-overflow-tooltip />
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷号" width="150px" align="center">
<template scope="scope">
<el-input v-show="!scope.row.edit" v-model="scope.row.pcsn" size="mini" />
<span v-show="scope.row.edit">{{ scope.row.pcsn }}</span>
</template>
</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">
<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" />

View File

@@ -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: {
open() {
crudUserStor.getSect({ 'stor_id': this.storId }).then(res => {
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() {
this.$refs['form2'].resetFields()

View File

@@ -144,7 +144,7 @@ export default {
type: Boolean,
default: false
},
openParam: {
openParamMoney: {
type: Object
}
},
@@ -152,7 +152,7 @@ export default {
dialogShow: {
handler(newValue, oldValue) {
this.dialogVisible = newValue
this.formMst = this.openParam
this.formMst = this.openParamMoney
}
}
},

View File

@@ -246,7 +246,7 @@
<ViewDialog :dialog-show.sync="viewShow" :rowmst="mstrow" @AddChanged="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" />
<MoneyDialog :dialog-show.sync="openMoneyDialog" :open-param="openParam" />
<MoneyDialog :dialog-show.sync="openMoneyDialog" :open-param-money="openParamMoney"/>
</div>
</template>
@@ -262,8 +262,6 @@ import MoneyDialog from '@/views/wms/st/outbill/MoneyDialog'
import DivDialog from '@/views/wms/st/outbill/DivDialog'
import TaskDialog from '@/views/wms/st/outbill/TaskDialog'
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 { downloadFile } from '@/utils'
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
@@ -299,6 +297,7 @@ export default {
work_flag: true,
confirm_flag: true,
openParam: [],
openParamMoney: null,
mstrow: {},
viewShow: false,
currentRow: null,
@@ -413,7 +412,7 @@ export default {
this.handleCurrentChange(null)
},
openMoney(row) {
this.openParam = row
this.openParamMoney = row
this.openMoneyDialog = true
},
printExcel(jo) {