|
@@ -74,35 +74,6 @@ Component({
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
- /* 统一交期 */
|
|
|
- dateChange(e) {
|
|
|
- let that = this;
|
|
|
- wx.showModal({
|
|
|
- title: '提示',
|
|
|
- content: `是否确定将当前产品列表交期统一设置为:${e.detail.value}`,
|
|
|
- complete: (res) => {
|
|
|
- if (res.confirm) _Http.basic({
|
|
|
- "id": 20230104143802,
|
|
|
- "content": {
|
|
|
- sa_orderid,
|
|
|
- "needdate": e.detail.value
|
|
|
- }
|
|
|
- }).then(res => {
|
|
|
- console.log('统一设置交期', res)
|
|
|
- wx.showToast({
|
|
|
- title: res.msg == '成功' ? '设置成功' : res.msg,
|
|
|
- icon: "none"
|
|
|
- })
|
|
|
- if (res.msg == '成功') that.setData({
|
|
|
- list: that.data.list.map(v => {
|
|
|
- v.needdate = e.detail.value;
|
|
|
- return v
|
|
|
- })
|
|
|
- })
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
/* 修改 */
|
|
|
changeProduct({
|
|
|
detail
|