|
@@ -253,6 +253,18 @@ function initTbTable() {
|
|
|
align: "center",
|
|
|
valign: 'middle'
|
|
|
},
|
|
|
+ {
|
|
|
+ field: 'manuNo',
|
|
|
+ title: '批次号',
|
|
|
+ align: "center",
|
|
|
+ valign: 'middle'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'supplyName',
|
|
|
+ title: '供应商',
|
|
|
+ align: "center",
|
|
|
+ valign: 'middle'
|
|
|
+ },
|
|
|
{
|
|
|
field: 'nationalCode',
|
|
|
title: '药品国家医保编码',
|
|
@@ -351,7 +363,7 @@ function initAddDrugTable() {
|
|
|
var str = '<button type="button" class="registration-no-color-foot-button" title="选择" onclick="addData(\'' + row.outDate + '\',\''
|
|
|
+ row.chargeCode + '\',\'' + row.name + '\',\'' + row.specification+ '\',\'' + row.groupNoOutName+ '\',\'' + row.outAmt+ '\',\''
|
|
|
+ row.effDate+ '\',\'' + row.drawNo+ '\',\'' + row.inDrawNo+ '\',\'' + row.outSeri+ '\',\'' + row.inSeri+ '\',\''
|
|
|
- + row.packRetprice+ '\',\'' + row.nationalCode+ '\')"><i class="glyphicon glyphicon-plus"></i></button>';
|
|
|
+ + row.packRetprice+ '\',\'' + row.manuNo+ '\',\'' + row.supplyName+ '\',\'' + row.nationalCode+ '\')"><i class="glyphicon glyphicon-plus"></i></button>';
|
|
|
return str;
|
|
|
}
|
|
|
}, {
|
|
@@ -471,7 +483,7 @@ function initAddDrugTable() {
|
|
|
* @param field
|
|
|
* @param values
|
|
|
*/
|
|
|
-function addData(outDate,chargeCode,name,specification,groupNoOutName,outAmt,effDate,drawNo,inDrawNo,outSeri,inSeri,packRetprice,nationalCode) {
|
|
|
+function addData(outDate,chargeCode,name,specification,groupNoOutName,outAmt,effDate,drawNo,inDrawNo,outSeri,inSeri,packRetprice,manuNo,supplyName,nationalCode) {
|
|
|
var tableData = $table.bootstrapTable('getData');
|
|
|
for (let i = 0; i < tableData.length; i++) {
|
|
|
let data = tableData[i];
|
|
@@ -490,10 +502,12 @@ function addData(outDate,chargeCode,name,specification,groupNoOutName,outAmt,eff
|
|
|
outAmt: outAmt,
|
|
|
effDate: effDate,
|
|
|
drawNo: drawNo,
|
|
|
- outSeri:outSeri,
|
|
|
- inSeri:inSeri,
|
|
|
+ outSeri: outSeri,
|
|
|
+ inSeri: inSeri,
|
|
|
inDrawNo: inDrawNo,
|
|
|
packRetprice: packRetprice,
|
|
|
+ manuNo: manuNo,
|
|
|
+ supplyName: supplyName,
|
|
|
nationalCode: nationalCode,
|
|
|
};
|
|
|
$table.bootstrapTable('prepend', row);
|