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

脚本优化

parent 8b067d9b
...@@ -106,6 +106,24 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放) ...@@ -106,6 +106,24 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
expdtDate = 'expdtDate' expdtDate = 'expdtDate'
productDate = 'productDate' productDate = 'productDate'
pkgCode = 'pkgCode' pkgCode = 'pkgCode'
pkgCodeSee= 'pkgCodeSee'
ssccCode= 'ssccCode'
pkgDefId= 'pkgDefId'
pkgDefQty= 'pkgDefQty'
purBillId= 'purBillId'
pkgDefName= 'pkgDefName'
distrBillId= 'distrBillId'
inStockTime= 'inStockTime'
distrDetailId= 'distrDetailId'
purMode= 'purMode'
goodsMfrsName= 'goodsMfrsName'
goodsSpec= 'goodsSpec'
unit= 'unit'
goodsName= 'goodsName'
made= 'made'
unitName= 'unitName'
hosGoodsCode= 'hosGoodsCode'
purModeText= 'purModeText'
for i in list_a: for i in list_a:
print(i) print(i)
UTid = i['id'] UTid = i['id']
...@@ -252,6 +270,24 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放) ...@@ -252,6 +270,24 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
expdtDate = 'expdtDate' expdtDate = 'expdtDate'
productDate = 'productDate' productDate = 'productDate'
pkgCode = 'pkgCode' pkgCode = 'pkgCode'
pkgCodeSee = 'pkgCodeSee'
ssccCode = 'ssccCode'
pkgDefId = 'pkgDefId'
pkgDefQty = 'pkgDefQty'
purBillId = 'purBillId'
pkgDefName = 'pkgDefName'
distrBillId = 'distrBillId'
inStockTime = 'inStockTime'
distrDetailId = 'distrDetailId'
purMode = 'purMode'
goodsMfrsName = 'goodsMfrsName'
goodsSpec = 'goodsSpec'
unit = 'unit'
goodsName = 'goodsName'
made = 'made'
unitName = 'unitName'
hosGoodsCode = 'hosGoodsCode'
purModeText = 'purModeText'
for i in list_a: for i in list_a:
print(i) print(i)
UTid = i['id'] UTid = i['id']
......
条码信息: 条码信息:
list_a: list_a:
- &id001 - &id001
id: UT240628001107 id: UT240628001108
snCode: UT240628001107 snCode: UT240628001108
ssccCode: '010839000186052124' ssccCode: '010839000186052223'
pkgCodeSee: 0137030000043000104444112406281725010421UT240628001107 pkgCodeSee: 0137030000043000104444112406281725010421UT240628001108
hosGoodsId: h034700004300 hosGoodsId: h034700004300
hosGoodsCode: '00004300' hosGoodsCode: '00004300'
goodsCode: '00004300' goodsCode: '00004300'
......
...@@ -77,7 +77,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -77,7 +77,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600"> <tr width="600">
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分19</td> <td class='details-col-elapsed'>0分20</td>
<td class="details-col-elapsed">100.0%</td> <td class="details-col-elapsed">100.0%</td>
</tr> </tr>
</table> </table>
...@@ -95,7 +95,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -95,7 +95,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a_c1流程十八中心库业务_拆包功能/log.html' target='_blank'>a_c1流程十八中心库业务_拆包功能</a></td> <td class="details-col-elapsed"><a href='../log/a_c1流程十八中心库业务_拆包功能/log.html' target='_blank'>a_c1流程十八中心库业务_拆包功能</a></td>
<td class="success">成功</td> <td class="success">成功</td>
<td class="details-col-elapsed">19.178</td> <td class="details-col-elapsed">19.992</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </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