Index: ssts-web/src/main/webapp/disinfectsystem/returnGoodsRecord/returnGoodsRecordForm.js =================================================================== diff -u -r29895 -r29899 --- ssts-web/src/main/webapp/disinfectsystem/returnGoodsRecord/returnGoodsRecordForm.js (.../returnGoodsRecordForm.js) (revision 29895) +++ ssts-web/src/main/webapp/disinfectsystem/returnGoodsRecord/returnGoodsRecordForm.js (.../returnGoodsRecordForm.js) (revision 29899) @@ -16,7 +16,7 @@ var labelWidth = 100;//表单label的宽度 /*********************************** store start****************************************/ -//申请仓库store +//退货仓库store var wareHouseStore = new Ext.data.Store({ proxy: new Ext.data.HttpProxy({ url: WWWROOT + '/disinfectSystem/baseData/wareHouseAction!getWareHouseData.do', @@ -74,7 +74,7 @@ }, beforeload: function (store, records) { if (top.Ext.getCmp('returnOfPeopleBarcodeHidden').getValue() == '') { - showResult("请先输入申请人员工号"); + showResult("请先输入退货人员工号"); return false; } } @@ -309,7 +309,7 @@ if (!isTousse) {//如果是一次性物品 var b = isBarcodeRepeat(barcode); if (b) { - showResult("该批次的一次性物品已经在申请明细中"); + showResult("该批次的一次性物品已经在退货明细中"); return false; } } @@ -668,7 +668,7 @@ { name: 'returnedAmount' }, ]); } - //该申请记录已经录入的申请详细信息 + //该退货记录已经录入的退货详细信息 var dataReader = new Ext.data.JsonReader({ fields: [ { name: 'id' }, @@ -716,7 +716,7 @@ { header: "条码", width: 80, dataIndex: 'barcode', menuDisabled: true }, { id: 'autoWidth', header: "物品", dataIndex: 'tousseName', width: 180, menuDisabled: true }, { - header: "申请数量", width: 70, dataIndex: 'amount', menuDisabled: true, + header: "退货数量", width: 70, dataIndex: 'amount', menuDisabled: true, editor: new top.Ext.form.NumberField({ allowBlank: false, disabled: !enableBtn, @@ -726,7 +726,7 @@ }) }, { header: "单位", width: 50, dataIndex: 'unit', menuDisabled: true }, - { header: "可申请数量", width: 70, dataIndex: 'amountCanReturn', menuDisabled: true }, + { header: "可退货数量", width: 70, dataIndex: 'amountCanReturn', menuDisabled: true }, { header: "批次", width: 100, dataIndex: 'batchNumber', menuDisabled: true }, { header: "单价", width: 50, dataIndex: 'fluctuationPrice', menuDisabled: true }, { header: "失效日期", width: 80, dataIndex: 'expDate', menuDisabled: true }, @@ -785,7 +785,7 @@ items: [{ xtype: "fieldset", layout: 'column', - title: '申请记录信息', + title: '退货记录信息', autoHeight: true, items: [{ layout: 'column', @@ -853,7 +853,7 @@ // value: new Date(), anchor: '80%', listeners: { - render: function () { //一次性物品的的申请时间,取服务器时间 cjr) + render: function () { //一次性物品的的退货时间,取服务器时间 cjr) (!id) ? setStartDate(top.Ext, 'yyyy/MM/dd HH:mm', 'returnTime') : (function () { })(); } } @@ -865,7 +865,7 @@ labelWidth: labelWidth, items: [{ xtype: 'textfield', - fieldLabel: '申请人员工号', + fieldLabel: '退货人员工号', id: 'returnOfPeopleBarcode', name: 'returnOfPeopleBarcode', disabled: !editableConfig.editable, @@ -895,7 +895,7 @@ labelWidth: labelWidth, items: [{ xtype: 'textfield', - fieldLabel: '申请人', + fieldLabel: '退货人', id: 'returnOfPeople', name: 'returnOfPeople', allowBlank: true, @@ -983,7 +983,7 @@ labelWidth: labelWidth, items: [{ xtype: 'combo', - fieldLabel: '申请仓库', + fieldLabel: '退货仓库', id: 'warehouse', name: 'warehouse', minChars: 0, @@ -1097,7 +1097,7 @@ }, { xtype: "fieldset", layout: 'column', - title: '申请记录明细', + title: '退货记录明细', autoHeight: true, items: [{ layout: 'form', @@ -1296,7 +1296,7 @@ } if (returnGoodsItemStore.getCount() < 1) { - showResult('申请详细信息列表不能为空'); + showResult('退货详细信息列表不能为空'); return false; } top.Ext.MessageBox.confirm("请确认", "是否保存" + entityName + "信息?", function (btn) { @@ -1375,7 +1375,7 @@ } } -// 器械包,科室申请人为空时才能更改申请科室 +// 器械包,科室退货人为空时才能更改申请科室 function loadPeopleByStaffNum(staffNumField) { var staffNum = staffNumField.getValue(); if (staffNum) { @@ -1384,7 +1384,7 @@ var fullName = user.split(",")[0]; var orgUnitNames = user.split(",")[1]; var orgUnitCodes = user.split(",")[2]; - top.Ext.getCmp('returnOfPeople').setValue(fullName);//设置申请人 + top.Ext.getCmp('returnOfPeople').setValue(fullName);//设置退货人 var currentDepart = getCurrentDepart(); var currentDepartCoding = getCurrentDepartCoding(); var resetDepart = true; @@ -1414,7 +1414,7 @@ } /** - * 根据申请人工号获取申请人名称及科室 + * 根据退货人工号获取退货人名称及科室 * @param staffNumField */ function loadPeopleByStaffNum_forDiposableGoods(staffNumField) { @@ -1425,7 +1425,7 @@ var fullName = user.split(",")[0]; var orgUnitNames = user.split(",")[1]; var orgUnitCodes = user.split(",")[2]; - top.Ext.getCmp('returnOfPeople').setValue(fullName);//设置申请人 + top.Ext.getCmp('returnOfPeople').setValue(fullName);//设置退货人 var currentDepart = getCurrentDepart(); var currentDepartCoding = getCurrentDepartCoding(); var resetDepart = true; @@ -1503,8 +1503,8 @@ } } -//TODO 器械包申请 -/*********************************** 器械包申请 form start****************************************/ +//TODO 器械包退货 +/*********************************** 器械包退货 form start****************************************/ function returnNewParentNodeOfModifyAmount(pNode, amount, price) { var difAmount = parseInt(pNode.attributes.amount) + parseInt(amount); if (difAmount <= 0) { @@ -1629,7 +1629,7 @@ items: [{ xtype: "fieldset", layout: 'column', - // title :'申请记录信息', + // title :'退货记录信息', autoHeight: true, items: [{ layout: 'column', @@ -1726,7 +1726,7 @@ ) }); - //申请器械包列表 columns + //退货器械包列表 columns var columnsArr = new Array({ id: 'tousseName', header: '名称', @@ -1978,7 +1978,7 @@ items: [{ xtype: "fieldset", layout: 'column', - title: '申请记录信息', + title: '退货记录信息', autoHeight: true, items: [{ layout: 'column', @@ -2026,7 +2026,7 @@ // value: new Date(), anchor: '80%', listeners: { - render: function () {//器械包的申请时间,取服务器时间 (cjr) + render: function () {//器械包的退货时间,取服务器时间 (cjr) (!id) ? setStartDate(top.Ext, 'yyyy/MM/dd HH:mm', 'returnTime') : (function () { })(); } } @@ -2038,7 +2038,7 @@ labelWidth: labelWidth, items: [{ xtype: 'textfield', - fieldLabel: '申请人员工号', + fieldLabel: '退货人员工号', id: 'returnOfPeopleBarcode', name: 'returnOfPeopleBarcode', disabled: !editableConfig.editable, @@ -2058,7 +2058,7 @@ labelWidth: labelWidth, items: [{ xtype: 'textfield', - fieldLabel: '申请人', + fieldLabel: '退货人', id: 'returnOfPeople', name: 'returnOfPeople', allowBlank: true, @@ -2134,7 +2134,7 @@ }, { xtype: "fieldset", layout: 'column', - title: '申请记录明细', + title: '退货记录明细', autoHeight: true, items: [{ layout: 'form', @@ -2183,7 +2183,7 @@ var returnTousseItems = getReturnTousseDetailGridData2(); if (returnTousseItems.length == 0) { - showResult('申请详细信息列表不能为空'); + showResult('退货详细信息列表不能为空'); return false; } var returnTousseItemStr = top.Ext.encode(returnTousseItems); @@ -2248,7 +2248,7 @@ window.show(); } -//获取器械包申请明细信息 +//获取器械包退货明细信息 //格式为:ID@#包名@#数量@#是否重新发货@#是否重新装配@#条码...@;ID@#包名@#数量@#是否重新发货@#是否重新装配@#条码... function getReturnTousseDetailGridData(isGetBarcode) { var returnTousseItemStr = ''; @@ -2569,4 +2569,4 @@ } return false; } -/*********************************** 器械包申请 form end****************************************/ +/*********************************** 器械包退货 form end****************************************/