Commit 0c715b03 by LJM

add

parent f579ba19
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
confirmText: '确认取出', confirmText: '确认取出',
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
this.request(API.getBoxNumByDetailId, 'POST', { wsty_id: this.form[index].wsty_id }, true).then(json => { this.request(API.getBoxNumByDetailId, 'POST', { wstydl_id: wstydl_id }, true).then(json => {
if (json.err_code === 0) { if (json.err_code === 0) {
if (json.data > 1) { if (json.data > 1) {
let text = `${item.erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`; let text = `${item.erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`;
......
...@@ -1034,7 +1034,7 @@ ...@@ -1034,7 +1034,7 @@
*/ */
cancelTallyDetail(index) { cancelTallyDetail(index) {
//根据理货明细获取箱数 //根据理货明细获取箱数
this.request(API.getBoxNumByDetailId, 'POST', { wsty_id: this.form[index].wsty_id }, true).then(json => { this.request(API.getBoxNumByDetailId, 'POST', { wstydl_id: this.form[index].wstydl_id }, true).then(json => {
if (json.err_code === 0) { if (json.err_code === 0) {
if (json.data > 1) { if (json.data > 1) {
let text = `${this.erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`; let text = `${this.erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`;
......
...@@ -914,7 +914,7 @@ ...@@ -914,7 +914,7 @@
}); });
return false; return false;
} }
this.request(API.getBoxNumByDetailId, 'POST', { wsty_id: this.form[index].wsty_id }, true).then(json => { this.request(API.getBoxNumByDetailId, 'POST', { wstydl_id: this.form[index].wstydl_id }, true).then(json => {
if (json.err_code === 0) { if (json.err_code === 0) {
if (json.data > 1) { if (json.data > 1) {
let text = `${this.form[this.formIndex].erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`; let text = `${this.form[this.formIndex].erp_order_sn}货物分部在${this.box_sn}${json.data.length}个子箱,请确认是否全部取消`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment