Browse Source

Merge branch 'dev' of ssh://10.10.100.21/source/saas-platform into dev

hy 7 years ago
parent
commit
194e951311

+ 2 - 2
applications/money/money-server/src/main/resources/mapper/FundtransferMapper.xml

@@ -241,7 +241,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   Fundtransfer.companyId = #{companyId}
         and   Fundtransfer.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by ft_date desc
+    </where>  order by ft_date desc, ft_code desc
   </select>
   </select>
 
 
   <select id="selectFundtransferListByCondition" resultMap="BaseResultMap">
   <select id="selectFundtransferListByCondition" resultMap="BaseResultMap">
@@ -256,6 +256,6 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   fundtransfer.companyId = #{companyId}
         and   fundtransfer.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by ft_date desc
+    </where>  order by ft_date desc, ft_code desc
   </select>
   </select>
 </mapper>
 </mapper>

+ 2 - 2
applications/money/money-server/src/main/resources/mapper/OthreceiptsMapper.xml

@@ -326,7 +326,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   othreceipts.companyId = #{companyId, jdbcType=INTEGER}
         and   othreceipts.companyId = #{companyId, jdbcType=INTEGER}
       </if>
       </if>
-    </where>  order by or_date desc
+    </where>  order by or_date desc,or_code desc
   </select>
   </select>
 
 
   <select id="selectOthreceiptsListByCondition" resultMap="BaseResultMap">
   <select id="selectOthreceiptsListByCondition" resultMap="BaseResultMap">
@@ -341,6 +341,6 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   othreceipts.companyId = #{companyId, jdbcType=INTEGER}
         and   othreceipts.companyId = #{companyId, jdbcType=INTEGER}
       </if>
       </if>
-    </where>  order by or_date desc
+    </where>  order by or_date desc, or_code desc
   </select>
   </select>
 </mapper>
 </mapper>

+ 2 - 2
applications/money/money-server/src/main/resources/mapper/OthspendingsMapper.xml

@@ -321,7 +321,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   othspendings.companyId = #{companyId}
         and   othspendings.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by os_date desc
+    </where>  order by os_date desc, os_code desc
   </select>
   </select>
 
 
   <select id="selectOthspendingsListByCondition" resultMap="BaseResultMap">
   <select id="selectOthspendingsListByCondition" resultMap="BaseResultMap">
@@ -336,6 +336,6 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   othspendings.companyId = #{companyId}
         and   othspendings.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by os_date desc
+    </where>  order by os_date desc,os_code desc
   </select>
   </select>
 </mapper>
 </mapper>

+ 2 - 2
applications/money/money-server/src/main/resources/mapper/PaybalanceMapper.xml

@@ -428,7 +428,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   paybalance.companyId = #{companyId}
         and   paybalance.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by pb_date desc, order by pb_code
+    </where>  order by pb_date desc, pb_code desc
   </select>
   </select>
 
 
   <select id="selectPaybalanceListByCondition" resultMap="BaseResultMap">
   <select id="selectPaybalanceListByCondition" resultMap="BaseResultMap">
@@ -443,7 +443,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   paybalance.companyId = #{companyId}
         and   paybalance.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by pb_date desc, order by pb_code
+    </where>  order by pb_date desc,pb_code desc
   </select>
   </select>
 
 
   <select id="validateCodeWhenInsert" resultType="int">
   <select id="validateCodeWhenInsert" resultType="int">

+ 2 - 2
applications/money/money-server/src/main/resources/mapper/RecbalanceMapper.xml

@@ -131,7 +131,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   recbalance.companyId = #{companyId}
         and   recbalance.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by rb_date desc
+    </where>  order by rb_date desc,rb_code desc
   </select>
   </select>
 
 
   <select id="selectRecbalanceListByCondition" resultMap="BaseResultMap">
   <select id="selectRecbalanceListByCondition" resultMap="BaseResultMap">
@@ -146,7 +146,7 @@
       <if test="companyId != null">
       <if test="companyId != null">
         and   recbalance.companyId = #{companyId}
         and   recbalance.companyId = #{companyId}
       </if>
       </if>
-    </where>  order by rb_date desc
+    </where>  order by rb_date desc, rb_code desc
   </select>
   </select>
 
 
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">

+ 8 - 0
frontend/saas-web/app/view/purchase/purchase/FormPanel.js

@@ -310,6 +310,14 @@ Ext.define('saas.view.purchase.purchase.FormPanel', {
                 text : "关联销售单号", 
                 text : "关联销售单号", 
                 dataIndex : "pd_salecode", 
                 dataIndex : "pd_salecode", 
                 width : 120.0
                 width : 120.0
+            },{
+                text : "备注", 
+                dataIndex : "sd_remark",
+                width : 250, 
+                items : null,
+                editor : {
+                    xtype : "textfield"
+                },
             }
             }
         ]
         ]
     }, {
     }, {

+ 0 - 1
frontend/saas-web/app/view/stock/make/FormPanel.js

@@ -55,7 +55,6 @@ Ext.define('saas.view.stock.make.FormPanel', {
         fieldLabel: '产品id'
         fieldLabel: '产品id'
     },{
     },{
         xtype : "dbfindtrigger",
         xtype : "dbfindtrigger",
-        editable:false, 
         name : "ma_prodcode", 
         name : "ma_prodcode", 
         fieldLabel : "产品编号",
         fieldLabel : "产品编号",
         allowBlank : false,
         allowBlank : false,

+ 2 - 2
frontend/saas-web/app/view/stock/make/FormPanelController.js

@@ -21,9 +21,9 @@ Ext.define('saas.view.stock.make.FormPanelController', {
                             from:'wh_description',to:'ma_whname'
                             from:'wh_description',to:'ma_whname'
                         }],
                         }],
                         dbtpls:[{
                         dbtpls:[{
-                            field:'pd_whcode',width:100
+                            field:'wh_code',width:100
                         },{
                         },{
-                            field:'pd_whname',width:100
+                            field:'wh_description',width:100
                         }],
                         }],
                         dbSearchFields:[{
                         dbSearchFields:[{
                             emptyText:'输入仓库编号或名称',
                             emptyText:'输入仓库编号或名称',