Commit e25a2579 by zhangxw

批量更换合同修改

1 parent c6013759
...@@ -190,6 +190,11 @@ export default { ...@@ -190,6 +190,11 @@ export default {
//商品合同批量 //商品合同批量
params.targetIds = this.changeContractObj.ids params.targetIds = this.changeContractObj.ids
} }
// 产品合同批量
if (this.changeContractObj.isProdBatch) {
params.targetIds = this.changeContractObj.ids
API = 'copyTemplateApi'
}
} }
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
......
...@@ -501,6 +501,7 @@ export default { ...@@ -501,6 +501,7 @@ export default {
this.changeContractObj = { this.changeContractObj = {
visible: true, visible: true,
isBase: 2, isBase: 2,
isProdBatch: true,
id: '', id: '',
ids ids
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!