订单bug #208

Merged
juzi merged 1 commits from projects/mesxc-zjl into projects/mesxc-test 2024-02-26 13:19:19 +08:00
2 changed files with 11 additions and 14 deletions
Showing only changes of commit 3e89f4066f - Show all commits

View File

@ -44,7 +44,7 @@
</el-col> </el-col>
<el-col :span='4'> <el-col :span='4'>
<div class="blodTip">加工平方数(平方米)</div> <div class="blodTip">加工平方数(平方米)</div>
<div class="lightTip">{{orderGroupMsg.actualArea}}</div> <div class="lightTip">{{orderGroupMsg.planArea}}</div>
</el-col> </el-col>
<el-col :span='4'> <el-col :span='4'>
<div class="blodTip">状态</div> <div class="blodTip">状态</div>
@ -114,7 +114,7 @@
</el-col> </el-col>
<el-col :span='4'> <el-col :span='4'>
<div class="blodTip">加工平方数(平方米)</div> <div class="blodTip">加工平方数(平方米)</div>
<div class="lightTip">{{item.actualArea}}</div> <div class="lightTip">{{item.planArea}}</div>
</el-col> </el-col>
<el-col :span='4'> <el-col :span='4'>
<div class="blodTip">预计用时()</div> <div class="blodTip">预计用时()</div>
@ -247,7 +247,7 @@ export default {
orderGroupId: '', orderGroupId: '',
tableProps, tableProps,
orderMsg: [], orderMsg: [],
tableH: this.tableHeight(510) / 2, tableH: 150,
// //
queryParams: { queryParams: {
pageNo: 1, pageNo: 1,
@ -257,9 +257,6 @@ export default {
} }
}, },
mounted() { mounted() {
window.addEventListener('resize', () => {
this.tableH = this.tableHeight(510) / 2
})
this.orderGroupId = location.href.split('?')[1].split('=')[1] this.orderGroupId = location.href.split('?')[1].split('=')[1]
this.getMsg() this.getMsg()
}, },

View File

@ -202,8 +202,8 @@ export default {
processFlowList: [], processFlowList: [],
productLineList: [], productLineList: [],
workOrderTypeList: [ workOrderTypeList: [
{id: 1,name:'标准工单'}, {id: 1,name:'普通'},
{id: 2, name:'特殊工单'} {id: 2, name:'特殊'}
], ],
planStartTime: '', planStartTime: '',
planFinishTime: '', planFinishTime: '',
@ -291,12 +291,12 @@ export default {
_this.$modal.msgSuccess("操作成功") _this.$modal.msgSuccess("操作成功")
let name = this.form.name let name = this.form.name
_this.$emit('addWorkOrderSubmit') _this.$emit('addWorkOrderSubmit')
// 使 // // 使
_this.$modal.confirm('是否添加预使用主原料信息?').then(function() { // _this.$modal.confirm('使?').then(function() {
_this.$router.push({ // _this.$router.push({
path: '/core/core-work-order?workOrderName='+encodeURI(name) // path: '/core/core-work-order?workOrderName='+encodeURI(name)
}) // })
}) // })
} }
}) })
} else { } else {