|
|
@@ -93,6 +93,7 @@ export default {
|
|
|
|
|
|
// 罗湖样品编号列表
|
|
|
let lhypbhList = []
|
|
|
+ let lhypmcList = []
|
|
|
// 罗湖委托单列表
|
|
|
let lhwtsqbList = []
|
|
|
// 罗湖样品表列表
|
|
|
@@ -211,6 +212,7 @@ export default {
|
|
|
lhypIdNewList.push('{"id_":"' + ypInfoList[yp].id_ + '"}')
|
|
|
uuidList.push(ypInfoList[yp].biao_zhi_uuid_)
|
|
|
ypbh.push(ypInfoList[yp].yang_pin_bian_hao)
|
|
|
+ lhypmcList.push(ypInfoList[yp].yang_pin_ming_che)
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
@@ -432,7 +434,7 @@ export default {
|
|
|
let resArr = response.variables.data
|
|
|
if (resArr.length == 1) {
|
|
|
if (resArr[0].wei_zhi_zhuang_ta == "空余") {
|
|
|
- repostCurd('update', '{"tableName":"t_ypcfwz","paramWhere":' + dWhere[num] + ',"paramCond":' + '{"wei_zhi_zhuang_ta":"占用","yang_pin_bian_hao":"' + ypbh[num] +'","ru_ku_shi_jian_":"' + this_.dateFormat() + '"}}').then(res => {
|
|
|
+ repostCurd('update', '{"tableName":"t_ypcfwz","paramWhere":' + dWhere[num] + ',"paramCond":' + '{"wei_zhi_zhuang_ta":"占用","yang_pin_bian_hao":"' + ypbh[num] +'","yang_pin_ming_che":"' + lhypmcList[num] +'","ru_ku_shi_jian_":"' + this_.dateFormat() + '"}}').then(res => {
|
|
|
})
|
|
|
} else if (resArr[0].wei_zhi_zhuang_ta == "占用") {
|
|
|
// 新增一条新的位置记录,使用旧的位置记录 修改它的样品编号,入库时间,标识UUID
|
|
|
@@ -450,6 +452,7 @@ export default {
|
|
|
cfNew["cun_chu_tiao_jian"] = resArr[0].cun_chu_tiao_jian
|
|
|
cfNew["yang_pin_bian_hao"] = ypbh[num]
|
|
|
// cfNew["yang_pin_bian_hao"] = lhypIdList[num]
|
|
|
+ cfNew["yang_pin_ming_che"] = lhypmcList[num]
|
|
|
cfNew["ru_ku_shi_jian_"] = this_.dateFormat()
|
|
|
cfNew["biao_zhi_uuid_"] = uuidList[num]
|
|
|
cfNewList.push(cfNew)
|