Commit ddebc3f1 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent 4b1e60e9
......@@ -242,6 +242,8 @@ class delData(object):
except:
sql = "delete from supply_relation where prov_id in(select id from bas_company_info where id = 'aaaa');"
print(sql)
else:
sql = "delete from supply_relation where prov_id in (select id from bas_company_info where cname like '%国药集团公司_____%');"
cursor.execute(sql)
cursor.execute("commit;")
print('内网供应关系删除成功 ')
......
条码信息:
list_a:
- &id001
id: UT240701001619
snCode: UT240701001619
ssccCode: '010839000186546326'
pkgCodeSee: 013710000004337010333112407011725010721UT240701001619
hosGoodsId: h034700004337
hosGoodsCode: '00004337'
goodsCode: '00004337'
goodsName: 一次性注射器_低值xh*Uq
id: UT2407010016180001
snCode: UT2407010016180001
ssccCode: '010839000019073210'
pkgCodeSee: 0137100000043380104444112407011725010721UT240701001618
hosGoodsId: h034700004338
hosGoodsCode: '00004338'
goodsCode: '00004338'
goodsName: 新型冠状病毒检测试剂gi(&B
goodsSpec: G-31891
goodsMfrsName: 德国歌德公司 Geuder AG
unit:
purMode: 10
batchCode: '333'
purMode: 60
batchCode: '4444'
productDate: '2024-07-01'
expdtDate: '2025-01-07'
pkgDefName: '100'
pkgDefQty: 100.0
stockId: 699dd747426940b282b69d7acc27d51d
stockName: 级检测组003库房
pkgDefName:
pkgDefQty: 1.0
stockId: bd4c0744cee04b208483483dded13ff8
stockName: 级检验科002库房
areaName: 默认库区
areaCode: areah03472538
areaCode: areah03472540
lockStatus: 0
unitName: 100支/100
shelfCode: areah03472538-A-01-01
unitName: 1
shelfCode: areah03472540-A-01-01
shelfNo: A01-A-01-01
pkgDefId: d7b778b300694f3c8351912c561a69a5
extInfo: '{"pkgDefId": "d7b778b300694f3c8351912c561a69a5", "pkgDefQty": 100, "purBillId":
"CG2024070120190", "pkgDefName": "100", "distrBillId": "PSh0347202407010054",
"inStockTime": "2024-07-01 11:15:02", "distrDetailId": "03839023", "certificateCode":
""}'
bottleId:
pkgType: '16'
pkgDefId:
extInfo: '{"pkgUdi": "0137100000043380104444112407011725010721UT240701001618",
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-07-01
11:07:11", "pkgBarcodeId": "UT240701001618"}'
bottleId: UT2407010016180001
pkgType: '67'
miDjmc: ''
miCode: ''
transferRatio: 1.0
......@@ -41,13 +40,13 @@
shelfKindName: 普通货位
provName: 国药集团公司l6AP(
provId: p1e2e4
inStockDate: '2024-07-01 11:15:01'
inStockDate: '2024-07-01 11:07:10'
mfrCode:
made: 德国
price:
barName: 100支/100
purModeText: 低值耗材
codeType: 16
barName: 1
purModeText: 检验试剂
codeType: 67
list_b:
- *id001
list_c:
......
......@@ -76,9 +76,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分55</td>
<td class="details-col-elapsed">0.0%</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1分7</td>
<td class="details-col-elapsed">100.0%</td>
</tr>
</table>
......@@ -94,8 +94,8 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">54.907</td>
<td class="success">成功</td>
<td class="details-col-elapsed">67.484</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment