a5ec779a by yangwei

fwsyq中楼盘表发起申请

1 parent 48321a3b
...@@ -225,12 +225,14 @@ export default { ...@@ -225,12 +225,14 @@ export default {
225 * @author: renchao 225 * @author: renchao
226 */ 226 */
227 submitForm () { 227 submitForm () {
228 debugger
229 if (this.bsmList.length == 0) { 228 if (this.bsmList.length == 0) {
230 this.$message.error("请至少选择一条数据"); 229 this.$message.error("请至少选择一条数据");
231 return; 230 return;
232 } 231 }
233 this.loading = true 232 this.loading = true
233 this.bsmList.forEach(item=>{
234 item['bdcdyid'] = item.dyhbsm
235 })
234 startBusinessFlow({ 236 startBusinessFlow({
235 bsmSqyw: this.sqywInfo.bsmSqyw, 237 bsmSqyw: this.sqywInfo.bsmSqyw,
236 bdcdysz: this.bsmList, 238 bdcdysz: this.bsmList,
...@@ -250,9 +252,9 @@ export default { ...@@ -250,9 +252,9 @@ export default {
250 this.$popupCacel() 252 this.$popupCacel()
251 } else { 253 } else {
252 if (res.result && res.result.length > 0) { 254 if (res.result && res.result.length > 0) {
253 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 255 this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{result: res.result} })
254 } else { 256 } else {
255 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) 257 this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{message: res.message} })
256 } 258 }
257 } 259 }
258 }).catch(() => { 260 }).catch(() => {
......