|
|
@@ -3,7 +3,8 @@ let items = [],
|
|
|
countDown = null;
|
|
|
Component({
|
|
|
properties: {
|
|
|
- quotedpricenotes: Array
|
|
|
+ quotedpricenotes: Array,
|
|
|
+ disabled: Boolean
|
|
|
},
|
|
|
options: {
|
|
|
addGlobalClass: true
|
|
|
@@ -21,7 +22,6 @@ Component({
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
- /* 获取产品列表 */
|
|
|
getList(id, init) {
|
|
|
let content = this.data.content;
|
|
|
content.sa_quotedpriceid = id;
|
|
|
@@ -168,5 +168,26 @@ Component({
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ handleDetele({
|
|
|
+ detail
|
|
|
+ }) {
|
|
|
+ _Http.basic({
|
|
|
+ "id": 20230211155703,
|
|
|
+ "version": 1,
|
|
|
+ "content": {
|
|
|
+ "sa_quotedprice_specialitemsids": [detail]
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ console.log("删除其他费用", res)
|
|
|
+ wx.showToast({
|
|
|
+ title: res.msg == '成功' ? '删除成功' : res.msg,
|
|
|
+ icon: "none",
|
|
|
+ mask: true
|
|
|
+ })
|
|
|
+ if (res.msg == '成功') this.setData({
|
|
|
+ list: this.data.list.filter(v => v.sa_quotedprice_specialitemsid != detail)
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|