瀏覽代碼

病理版试剂更换调整

wangxiaoyi 1 年之前
父節點
當前提交
c43fcd0aea

+ 4 - 4
src/views/component/reagent/reagentChange.vue

@@ -19,7 +19,7 @@
                 <el-col>
                     <el-table ref="reagent" :data="reagentDataFilter" :span-method="spanMethod">
                         <el-table-column
-                            label="检验项目"
+                            :label="formData.yiYuan === '深圳肿瘤' ? '检查项目' : '检验项目'"
                             prop="jyxm"
                         />
                         <el-table-column label="浓度" prop="nd">
@@ -28,7 +28,7 @@
                                 <span v-else>{{ row.nd|| '/' }}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="样品编号" prop="ypbh" />
+                        <el-table-column :label="formData.yiYuan === '深圳肿瘤' ? '病理号' : '样品编号'" prop="ypbh" />
                         <el-table-column label="旧试剂测得结果" prop="jsjcdjg">
                             <template slot-scope="{row}">
                                 <el-input v-if="!disabled" v-model="row.jsjcdjg" :min="0" size="mini" placeholder="请输入" type="number" />
@@ -232,7 +232,7 @@ export default {
             },
             {
                 field_name: 'jyxm',
-                label: '检验项目',
+                label: this.formData.yiYuan === '深圳肿瘤' ? '检查项目' : '检验项目',
                 name: 'jyxm'
             },
             {
@@ -242,7 +242,7 @@ export default {
             },
             {
                 field_name: 'ypbh',
-                label: '样品编号',
+                label: this.formData.yiYuan === '深圳肿瘤' ? '病理号' : '样品编号',
                 name: 'ypbh'
             },
             {

+ 5 - 1
src/views/component/reagentBtn/reagentBtn.vue

@@ -117,7 +117,11 @@ export default {
             } else {
                 this.loading = true
                 request({
-                    url: FORM_URL() + `/reagent/reagentConsumablesInventory/updateStock?id=${row.id_}&stock=${row.quantity}`,
+                    url: FORM_URL() + `/reagent/reagentConsumablesInventory/updateStock`,
+                    data: {
+                        type: 'only',
+                        kcList: [{ id: row.id_, quantity: row.quantity }]
+                    },
                     method: 'post'
                 }).then(response => {
                     if (response.state === 200) {

+ 2 - 1
src/views/component/reagentQualitative/reagentQualitative.vue

@@ -16,7 +16,8 @@
                 <el-col>
                     <el-table ref="external" :data="reagentBatchDataFilter" :span-method="objectSpanMethod" @selection-change="handleSelectionChange">
                         <el-table-column type="selection" width="55" />
-                        <el-table-column label="样品序号 (条码号)" prop="biaoBenHao">
+
+                        <el-table-column :label="formData.yiYuan === '深圳肿瘤' ? '病理号':'样品序号 (条码号)'" prop="biaoBenHao">
                             <template slot-scope="{row}">
                                 <el-input v-if="!isRead" v-model="row.biaoBenHao" size="mini" maxlength="32" placeholder="请输入" />
                                 <span v-else>{{ row.biaoBenHao }}</span>

+ 2 - 2
src/views/component/reagentReceive/reagentReceive.vue

@@ -82,7 +82,7 @@ export default {
                             const temp = this.reagentBatchData.find(el => el.inventoryId === al)
                             const item = data.find(el => el.id_ === al)
                             const ck = this.positionData.find(a => a.id_ === item.position)
-                            arry.push(temp || { inventoryId: item.id_, shiJiMingCheng: item.ming_cheng_, bianMa: item.bian_ma, leiBie: item.lei_bie_, shengChengChangJi: item.chang_jia_, guiGe: item.gui_ge_, cunChuWeiZhi: ck ? ck.positionName + ck.quYu : '', cangKuId: item.position, cunChuTiaoJian: item.cun_chu_tiao_jian, shuLiang: '', danWei: item.dan_wei_, piHao: item.batch_num, zhuangTai: item.status_, youXiaoQi: item.exp_date, kuCunLiang: item.quantity, withhold: item.withhold })
+                            arry.push(temp || { inventoryId: item.id_, shiJiMingCheng: item.ming_cheng_, bianMa: item.bian_ma, leiBie: item.lei_bie_, shengChengChangJi: item.gong_ying_shang_ + '/' + item.chang_jia_, guiGe: item.gui_ge_, cunChuWeiZhi: ck ? ck.positionName + ck.quYu : '', cangKuId: item.position, cunChuTiaoJian: item.cun_chu_tiao_jian, shuLiang: '', danWei: item.dan_wei_, piHao: item.batch_num, zhuangTai: item.status_, youXiaoQi: item.exp_date, kuCunLiang: item.quantity, withhold: item.withhold || 0 })
                         })
                         this.reagentBatchData = arry
                     })
@@ -101,7 +101,7 @@ export default {
                         value.split(',').forEach(al => {
                             const temp = this.reagentBatchData.find(el => el.inventoryId === al)
                             const item = data.find(el => el.inventory_id_ === al)
-                            arry.push(temp || { inventoryId: item.inventory_id_, shiJiMingCheng: item.ming_cheng_, bianMa: item.bian_ma, leiBie: item.lei_bie_, shengChengChangJi: item.chang_jia_, guiGe: item.gui_ge_, cunChuTiaoJian: item.cun_chu_tiao_jian, shuLiang: '', danWei: item.dan_wei_, piHao: item.batch_num, zhuangTai: item.status_, youXiaoQi: item.exp_date, kuCunLiang: item.total, withhold: item.total_withhold })
+                            arry.push(temp || { inventoryId: item.inventory_id_, shiJiMingCheng: item.ming_cheng_, bianMa: item.bian_ma, leiBie: item.lei_bie_, shengChengChangJi: item.gong_ying_shang_ + '/' + item.chang_jia_, guiGe: item.gui_ge_, cunChuTiaoJian: item.cun_chu_tiao_jian, shuLiang: '', danWei: item.dan_wei_, piHao: item.batch_num, zhuangTai: item.status_, youXiaoQi: item.exp_date, kuCunLiang: item.total, withhold: item.total_withhold || 0 })
                         })
                         this.reagentBatchData = arry
                     })