计划模块(订单拆分搜索后拆分BUG解决)

master
wws 1 year ago
parent 8e66818077
commit 9cbe8c9902

@ -1,5 +1,13 @@
import request from '@/utils/request'
// 通过木订单code获取级联订单信息并封装
export function getCascadeProOrder(orderCode) {
return request({
url: '/plan/order/getCascadeProOrder/' + orderCode,
method: 'get'
})
}
// 获取班次信息
export function getProShifts() {
return request({

@ -435,6 +435,7 @@
<script>
import {
getCascadeProOrder,
getProEquipment,
getProRoutes,
getProShifts,
@ -631,7 +632,11 @@ export default {
}, `order_${new Date().getTime()}.xlsx`)
},
/** 拆分按钮操作 */
splitBtn(row) {
splitBtn(e) {
var row;
getCascadeProOrder(e.orderCode).then(response => {
row = response.data
//
function setAtrr1(row) {
row.atrr1 = 0
@ -687,6 +692,10 @@ export default {
this.splitOpen = true
this.title = '拆分'
})
},
/** 拆分数量方法 */
splitNumChange(e) {

Loading…
Cancel
Save