king
2020-11-12 f830c733cbc071f023c9a9a4e1571b7c81d672bf
src/templates/sharecomponent/actioncomponent/index.jsx
@@ -75,7 +75,7 @@
  }
  getBillPrintTemp = () => {
    let _sql = `select PrintTempNO,Images,PrintTempNO+PrintTempName as PN from sPrintTemplate
    let _sql = `select ID,Images,PrintTempNO+PrintTempName as PN from sPrintTemplate
    where appkey= @appkey@ and Deleted=0  and typechartwo='web_print'
    union select ID,Images,a.PrintTempNO+PrintTempName as PN 
    from (select * from sPrintTemplate where appkey= '' and Deleted=0  and typechartwo='web_print') a 
@@ -88,7 +88,7 @@
      func: 'sPC_Get_SelectedList',
      LText: Utils.formatOptions(_sql),
      obj_name: 'data',
      arr_field: 'PN,PrintTempNO,Images'
      arr_field: 'PN,ID,Images'
    }
    param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
@@ -100,7 +100,7 @@
      if (res.status) {
        let temps = res.data.map(temp => {
          return {
            value: temp.PrintTempNO,
            value: temp.ID,
            text: temp.PN
          }
        })