This commit is contained in:
2025-06-11 09:49:05 +08:00
parent 47371e97e9
commit b40cea1f9d
3 changed files with 7 additions and 19 deletions

View File

@@ -59,7 +59,7 @@
</view>
<view class="zd-row submit-bar">
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
<button class="zd-col-15 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_CheckConfirm">出库确认</button>
<button class="zd-col-15 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_CheckConfirm">盘点确认</button>
</view>
</view>
</template>

View File

@@ -246,8 +246,8 @@
title: res.message,
icon: 'none'
})
this.pointCode = ''
this.sectId = ''
this.clearUp1()
this.clearUp2()
} catch (e) {
this.disabled2 = false
}

View File

@@ -118,23 +118,11 @@ export const queryTask = (code) => request({
task_code: code
}
})
export const againTask = (code, vcode, pc1, pc2, stutus) => request({
export const againTask = (obj) => request({
url:'api/pda/schTask/againTask',
data: {
task_code: code,
vehicle_code: vcode,
point_code1: pc1,
point_code2: pc2,
task_status: stutus
}
data: obj
})
export const forceConfirm = (code, vcode, pc1, pc2, stutus) => request({
export const forceConfirm = (obj) => request({
url:'api/pda/schTask/forceConfirm',
data: {
task_code: code,
vehicle_code: vcode,
point_code1: pc1,
point_code2: pc2,
task_status: stutus
}
data: obj
})