<?xml version="1.0" encoding="utf-8" ?>
<select>
  <selectstr>
SELECT mtrltype
	,mtrlname
	,deptname
	,billcode
	,billname
	,erp_mtrlcode
	,erp_mtrlname
	,erp_mtrlmode
	,erp_mtrltype
	,mattress_width
	,mattress_length
	,mattress_height
	,billid
	,billtype
FROM dbo.GetHisPriceMtrl(@billtype)
  </selectstr>
  <where>
  </where>
  <displayfields>
    <field field="pid" compute="getrow()">序</field>
    <field field="mtrlname">物料名称</field>
    <field field="erp_mtrlcode">ERP物料编码</field>
    <field field="erp_mtrlname">ERP物料名称</field>
    <field field="erp_mtrltype">ERP物料类别</field>
    <field field="billtype" mapper="queto_billtype">报价类型</field>
    <field field="deptname">报价部门</field>
    <field field="billcode">报价唯一码</field>
    <field field="billname">床垫名称</field>
    <field field="mattress_width">床垫宽</field>
    <field field="mattress_length">床垫长</field>
  </displayfields>
</select>