imageView.js 656 Bytes
Newer Older
wangcong committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import ImageViewModal from '../../../../@rbc/invoice/src/components/image-view-modal/image-view-modal.vue'
export default {
  execute: function (bill, param) {
    const curbill = bill.dom || bill
    // const billCode = 'e7bb5a4e-9028-4475-9164-a268725a7faa'
    GMS.$hideContainer.addComponent(ImageViewModal, {}, function (c) {
      c.imageTableName = param.param.tableName
      c.bill = curbill
    })
    // if (param) {
    //   GMS.$hideContainer.addComponent(ImageViewModal, {}, function (c) {
    //     c.billId = bill.getMasterData().getValue('id');
    //   })
    // } else {
    //   GAMS.Common.messagePrompt('缺少参数')
    // }
  }
}