修改111
This commit is contained in:
@@ -600,4 +600,19 @@ uni-toast .uni-toast {
|
||||
}
|
||||
.uni-select__input-placeholder {
|
||||
color: grey !important;
|
||||
}
|
||||
/** 提示框 */
|
||||
uni-modal .uni-modal {
|
||||
border: 1px solid #24A9EE;
|
||||
background: linear-gradient(0deg, rgba(36, 184, 244, 90%), rgba(26, 148, 220, 90%));
|
||||
color: #fff;
|
||||
}
|
||||
.uni-modal .uni-modal__title {
|
||||
font-weight: bold;
|
||||
}
|
||||
.uni-modal .uni-modal__bd {
|
||||
color: #fff;
|
||||
}
|
||||
uni-modal .uni-modal__btn_primary {
|
||||
background: radial-gradient(50% 140%, rgba(36, 184, 244, 90%), rgba(26, 148, 220, 90%));
|
||||
}
|
||||
@@ -81,6 +81,7 @@
|
||||
uni.showModal({
|
||||
content: "需要相机权限",
|
||||
confirmText: "设置",
|
||||
confirmColor: '#fff',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
permision.gotoAppSetting();
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
uni.showModal({
|
||||
content: "需要相机权限",
|
||||
confirmText: "设置",
|
||||
confirmColor: '#fff',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
permision.gotoAppSetting();
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
uni.showModal({
|
||||
content: "需要相机权限",
|
||||
confirmText: "设置",
|
||||
confirmColor: '#fff',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
permision.gotoAppSetting();
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"name" : "诺力三期",
|
||||
"appid" : "__UNI__E82B13F",
|
||||
"description" : "诺力三期平板系统",
|
||||
"versionName" : "1.1.0",
|
||||
"versionCode" : 110,
|
||||
"versionName" : "1.1.1",
|
||||
"versionCode" : 111,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -509,10 +509,13 @@
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await easOutInBillSync('ALLO')
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
if (res) {
|
||||
this._allocationPage()
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
@@ -618,6 +621,21 @@
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '是否确认删除?',
|
||||
cancelColor: '#fff',
|
||||
confirmColor: '#fff',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
this.__easOutInBillDelete()
|
||||
} else if (res.cancel) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
async __easOutInBillDelete () {
|
||||
try {
|
||||
let res = await easOutInBillDelete('ALLO', this.checkData)
|
||||
if (res.code === 1) {
|
||||
|
||||
@@ -603,10 +603,13 @@
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillSync(type)
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
if (res) {
|
||||
this._easOutInBillPage()
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
@@ -619,6 +622,21 @@
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '是否确认删除?',
|
||||
cancelColor: '#fff',
|
||||
confirmColor: '#fff',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
this.__easOutInBillDelete()
|
||||
} else if (res.cancel) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
async __easOutInBillDelete () {
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillDelete(type, this.checkData)
|
||||
|
||||
@@ -96,8 +96,8 @@
|
||||
<view class="zd-checkbox zd-checkbox_i" :class="{'zd-checkbox_active': el.checked}"></view>
|
||||
</view>
|
||||
</td>
|
||||
<td v-if="id !== 'CGRKD'" class="underline fontcol1" @tap="showPop(1, e, el)">{{el.wlbm}}</td>
|
||||
<td v-if="id === 'CGRKD'" class="fontcol1">{{el.wlbm}}</td>
|
||||
<td class="underline fontcol1" @tap="showPop(1, e, el)">{{el.wlbm}}</td>
|
||||
<!-- <td v-if="id === 'CGRKD'" class="fontcol1">{{el.wlbm}}</td> -->
|
||||
<td>{{el.wlmc}}</td>
|
||||
<td>{{el.gzhbm}}</td>
|
||||
<td>{{el.ckmc}}</td>
|
||||
@@ -573,10 +573,13 @@
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillSync(type)
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
if (res) {
|
||||
this._easOutInBillPage()
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
@@ -589,6 +592,21 @@
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '是否确认删除?',
|
||||
cancelColor: '#fff',
|
||||
confirmColor: '#fff',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
this.__easOutInBillDelete()
|
||||
} else if (res.cancel) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
async __easOutInBillDelete () {
|
||||
try {
|
||||
let type = this.id === 'CGRKD' ? 'SRMINOUT' : 'EASINOUT'
|
||||
let res = await easOutInBillDelete(type, this.checkData)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<button class="confirm-button" @tap="toSubSearch(e)">查询</button>
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked}" @tap="showPop(1, e, {})">一键设置</button>
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus1}" @tap="showPop(4, e, {})">库位分配</button>
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus1}" @tap="inWarehouseSure(e)">库存提交</button>
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus1}" @tap="inWarehouseSure(e)">提交</button>
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus1}" :disabled="disabled1" @tap="_receiptBillConfirm(e)">确认收货</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -620,10 +620,13 @@
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await easOutInBillSync('RECE')
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
if (res) {
|
||||
this._receiptPage()
|
||||
uni.showToast({
|
||||
title: res.desc,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
@@ -661,6 +664,21 @@
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '是否确认删除?',
|
||||
cancelColor: '#fff',
|
||||
confirmColor: '#fff',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
this.__easOutInBillDelete()
|
||||
} else if (res.cancel) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
async __easOutInBillDelete () {
|
||||
try {
|
||||
let res = await easOutInBillDelete('RECE', this.checkData)
|
||||
if (res.code === 1) {
|
||||
|
||||
@@ -49,6 +49,7 @@ const request = (params) => {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
content: 'request:fail',
|
||||
confirmColor: '#fff',
|
||||
showCancel: false
|
||||
})
|
||||
reject('request:fail')
|
||||
@@ -56,6 +57,7 @@ const request = (params) => {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
content: `${res[1].data.message}`,
|
||||
confirmColor: '#fff',
|
||||
showCancel: false
|
||||
})
|
||||
reject(res[1].data.message)
|
||||
@@ -63,6 +65,7 @@ const request = (params) => {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
content: `${res[1].data.message}`,
|
||||
confirmColor: '#fff',
|
||||
showCancel: false
|
||||
})
|
||||
// store.dispatch('delUserInfo', '')
|
||||
@@ -79,6 +82,7 @@ const request = (params) => {
|
||||
uni.hideLoading();
|
||||
uni.showModal({
|
||||
content: `${res[1].data.message}`,
|
||||
confirmColor: '#fff',
|
||||
showCancel: false
|
||||
})
|
||||
reject(res[1].data.message)
|
||||
|
||||
Reference in New Issue
Block a user