|
|
@ -230,8 +230,8 @@ export default {
|
|
|
|
}).then(({ value }) => {
|
|
|
|
}).then(({ value }) => {
|
|
|
|
if(value){
|
|
|
|
if(value){
|
|
|
|
// 领用先进先出判断
|
|
|
|
// 领用先进先出判断
|
|
|
|
get_check_last_drug(stringify(this.infoData)).then(res => {
|
|
|
|
get_check_last_drug(stringify(this.infoData)).then(res_is_last => {
|
|
|
|
this.check_last_medicament(this.infoData).then((check_res) => {
|
|
|
|
this.check_last_medicament(res_is_last).then((check_res) => {
|
|
|
|
// 继续领用当前试剂
|
|
|
|
// 继续领用当前试剂
|
|
|
|
if (check_res) {
|
|
|
|
if (check_res) {
|
|
|
|
use(stringify({ 'bar_code': this.barCode,notes: value})).then(res => {
|
|
|
|
use(stringify({ 'bar_code': this.barCode,notes: value})).then(res => {
|
|
|
|