diff --git a/pages-home/service/todoDetail.vue b/pages-home/service/todoDetail.vue
index b2ba71f..2442324 100644
--- a/pages-home/service/todoDetail.vue
+++ b/pages-home/service/todoDetail.vue
@@ -21,9 +21,13 @@
单位
{{ item.wares.unit }}
+
+
+
+
- 编码
- {{ item.wares.code || ""}}
+ 售价
+
@@ -110,12 +114,32 @@ export default {
})
},
confirmOpe(type){
+ let forSign = true
+ this.repairList.map(item=>{
+ if (item.wares.price == null || item.wares.price == ''){
+ uni.showToast({
+ title: '售价不能为空!',
+ icon: 'none'
+ })
+ forSign = false
+ return;
+ }
+ })
+ if (!forSign) {
+ return;
+ }
let url = '/admin-api/repair/tw/audit'
let dataObj={
id:this.id,
type:"01",
status:"yes"==type?"02":"05"
}
+ dataObj.repairWaresList = [...this.repairList.map(item => {
+ return{
+ id:item.id,
+ price:item.wares.price
+ }
+ })]
request({
url: url,
method: 'POST',