仓库-出库单:出库计划,样式功能调整,打印功能添加
This commit is contained in:
@@ -302,22 +302,26 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<PrintView ref="printViewRef" :visible.sync="showPrintDialog" :printKey="printKey"></PrintView>
|
||||
<TheOutboundPlan :visible.sync="TheOutboundPlanDialogVisible" :planKey="planKey"></TheOutboundPlan>
|
||||
<TheChouseMaterial :visible.sync="TheChouseMaterialDialogVisible" @materialChoused="handlerMaterialChoused"></TheChouseMaterial>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { listWmOutOrder, addWmOutOrder, delWmOutOrder, updateWmOutOrder, getWmOutOrder, getCustomList } from '@/api/wmsManagement/wmOutOrder.js'
|
||||
import TheChouseMaterial from './components/TheChouseMaterial/TheChouseMaterial.vue'
|
||||
import TheOutboundPlan from './components/TheOutboundPlan'
|
||||
import PrintView from '@/components/Print/出库单.vue'
|
||||
export default {
|
||||
name: 'wmoutorder',
|
||||
components: {
|
||||
TheChouseMaterial,
|
||||
TheOutboundPlan,
|
||||
PrintView,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
TheChouseMaterialDialogVisible: false,
|
||||
TheOutboundPlanDialogVisible:false,
|
||||
showPrintDialog:false,
|
||||
printKey:'',
|
||||
labelWidth: '100px',
|
||||
@@ -526,7 +530,6 @@ export default {
|
||||
this.open = true
|
||||
this.title = '编辑出库单数据'
|
||||
this.opertype = 2
|
||||
console.log('getWmOutOrder', res, data)
|
||||
this.form = {
|
||||
...data,
|
||||
}
|
||||
@@ -595,13 +598,11 @@ export default {
|
||||
handlePrint(row) {
|
||||
this.printKey = row.shipmentNum
|
||||
this.showPrintDialog = true;
|
||||
// this.$refs.printViewRef.handlePrint(row)
|
||||
console.log(row)
|
||||
// this.$message('打印出库单功能待完善!')
|
||||
},
|
||||
// 配置出库计划
|
||||
handlePlan(){
|
||||
this.$message('此功能待完善')
|
||||
handlePlan(row){
|
||||
this.planKey = row.shipmentNum
|
||||
this.TheOutboundPlanDialogVisible = true;
|
||||
},
|
||||
// ====================================================
|
||||
/** 提交按钮 */
|
||||
|
||||
Reference in New Issue
Block a user