|
@@ -138,7 +138,7 @@
|
|
|
'color': '#3874F6',
|
|
|
}" text="信息修改" />
|
|
|
</view>
|
|
|
- <view class="but-box-item" @click="confirmStartShow = true">
|
|
|
+ <view class="but-box-item" @click="!detail.sku ? toCMTips() : confirmStartShow = true">
|
|
|
<My-button text="确认开始" />
|
|
|
<up-modal negativeTop="100" :show="confirmStartShow" showCancelButton @confirm="confirmStart"
|
|
|
@cancel="confirmStartShow = false" ref="uModal" :asyncClose="true">
|
|
@@ -311,6 +311,16 @@ function takeOrders() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+function toCMTips() {
|
|
|
+ uni.showModal({
|
|
|
+ confirmText: '前去修改',
|
|
|
+ content: '请完善产品信息和客户信息,确认开始后将不可修改!',
|
|
|
+ success: ({ confirm }) => {
|
|
|
+ if (confirm) toChangeMsg();
|
|
|
+ },
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
// 修改信息
|
|
|
function toChangeMsg() {
|
|
|
uni.navigateTo({
|