@@ -28,11 +28,11 @@ export function getDetail(params) {
}
// 确定
-export function givePrice(data) {
+export function givePrice(params) {
return request({
url: `/order/engin/manger/givePrice`,
method: 'post',
- data
+ params
})
@@ -340,6 +340,7 @@
type: 'warning'
}).then(() => {
givePrice({
+ goodsType: this.detail.goodsType,
orderEnginBaseId: this.detail.orderEnginBaseId,
orderId: this.detail.orderEnginBaseId,
price: this.formData1.price,
@@ -580,7 +580,7 @@
this.getGoods()
},
del(index){
- if(this.dataList.length == 1){this.isEdit == 0}else{this.isEdit -= 1}
+ if(index <= 1){this.isEdit == 0}else{this.isEdit -= 1}
this.dataList.splice(index,1)
submit(){
@@ -654,7 +654,7 @@