Commit 7e3452fa by wusiyi

feat: 订单添加质检流程 #1009863

parent 058f49bf
...@@ -661,9 +661,12 @@ watch( ...@@ -661,9 +661,12 @@ watch(
const len = historyData.value const len = historyData.value
if ( if (
len.length > 0 && len.length > 0 &&
['fastProduction', 'fastReceipt', 'productionScan'].includes( [
props.fastKey, 'fastProduction',
) 'fastReceipt',
'productionScan',
'qualityScan',
].includes(props.fastKey)
) { ) {
confirmQuery(len, 0) confirmQuery(len, 0)
} }
......
...@@ -1154,7 +1154,11 @@ ...@@ -1154,7 +1154,11 @@
pending-order-label="操作单号" pending-order-label="操作单号"
please-scan-tip="请扫码操作单号" please-scan-tip="请扫码操作单号"
search-input-audio-tip="请录入操作单号" search-input-audio-tip="请录入操作单号"
history-storage-key="historyFactoryOrderNewData" :history-storage-key="
fastKey === 'qualityScan'
? 'historyFactoryOrderNewQualityData'
: 'historyFactoryOrderNewData'
"
tracking-placeholder="扫描枪输入操作单号" tracking-placeholder="扫描枪输入操作单号"
:query-api="getOperationByNo" :query-api="getOperationByNo"
:complete-api="completeOperationById" :complete-api="completeOperationById"
......
Markdown is supported
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