Commit 285d69a9 by chenwq

feat(采购): 添加工厂发货标识参数

在采购相关页面和组件中添加 factoryOperation 参数,用于区分是否为工厂发货(0-否 1-是),以支持不同的发货逻辑处理
1 parent 2270b9b5
...@@ -551,6 +551,7 @@ export default { ...@@ -551,6 +551,7 @@ export default {
// 发货数量与发货卡号数量一致 // 发货数量与发货卡号数量一致
var params = { var params = {
...this.dialogData, ...this.dialogData,
factoryOperation: this.page == "factory" ? 1 : 0,
deliveryDate: Util.dateFormate( deliveryDate: Util.dateFormate(
this.dialogData.deliveryDate, this.dialogData.deliveryDate,
"YYYY-MM-DD HH:mm:ss" "YYYY-MM-DD HH:mm:ss"
......
...@@ -570,6 +570,8 @@ export default { ...@@ -570,6 +570,8 @@ export default {
return return
} }
const params = { const params = {
// 是否为工厂发货 0-否 1-是
factoryOperation: 1,
deliveryDetailList: this.selectedList.map(item => { return { id: item.id } }) deliveryDetailList: this.selectedList.map(item => { return { id: item.id } })
} }
deliveryBatchCheck(params).then(res => { deliveryBatchCheck(params).then(res => {
......
...@@ -849,6 +849,8 @@ export default { ...@@ -849,6 +849,8 @@ export default {
return return
} }
const params = { const params = {
// 是否为工厂发货 0-否 1-是
factoryOperation: 0,
deliveryDetailList: this.selectedList.map(item => { return { id: item.id } }) deliveryDetailList: this.selectedList.map(item => { return { id: item.id } })
} }
deliveryBatchCheck(params).then(res => { deliveryBatchCheck(params).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!