|
|
@@ -29,9 +29,9 @@ export default {
|
|
|
// 扫码扫到新数据,查询 回填展示
|
|
|
if(flag){
|
|
|
// repostCurd('select','{"tableName": "t_mjypdjb","paramWhere":{"yang_pin_bian_hao":"S220909-1053"}}').then(response => {
|
|
|
- repostCurd('select','{"tableName": "t_mjypb","paramWhere":{"yang_pin_bian_hao":"' + id + '","jie_yang_zhuang_t":"待确认"}}').then(response => {
|
|
|
+ let sql = `select ypb.*,sqb.fu_kuan_fang_shi_ from t_mjypb ypb JOIN t_mjwtsqb sqb on ypb.wai_jian_ = sqb.id_ and ypb.jie_yang_zhuang_t = '待确认' and ypb.yang_pin_bian_hao = '${id}'`
|
|
|
+ repostCurd('sql',sql).then(response => {
|
|
|
if (response.variables.data && response.variables.data.length > 0) {
|
|
|
- // console.log(response.variables.data[0])
|
|
|
response.variables.data[0].jie_yang_shu_lian = 1
|
|
|
this.listData.push(response.variables.data[0])
|
|
|
this.OriginalPosition.push(response.variables.data[0].shi_fou_liu_yang_ == "是" ? response.variables.data[0].liu_yang_wei_zhi_ : response.variables.data[0].shou_yang_wei_zhi)
|