Merge pull request '增加仓库-工序-提示' (#43) from zwq into develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #43
This commit is contained in:
朱文强 2022-03-09 14:32:55 +08:00
commit 68902f0f6c
3 changed files with 14 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2021-03-04 16:13:51
* @LastEditors: zwq
* @LastEditTime: 2022-03-09 11:16:12
* @LastEditTime: 2022-03-09 14:24:45
* @Description: file content
*/
export default {
@ -30,6 +30,7 @@ export default {
cancelButtonText: 'cancel',
Tips: 'Tips',
TipsBefore: 'Are you sure you want to delete',
TipsStorageBefore: 'Confirm to add location:',
Description: 'Description',
Remarks: 'Remarks',
Yes: 'Yes',

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2021-03-04 16:13:51
* @LastEditors: zwq
* @LastEditTime: 2022-03-09 11:16:02
* @LastEditTime: 2022-03-09 14:24:03
*/
export default {
visual: {
@ -29,6 +29,7 @@ export default {
cancelButtonText: '取消',
Tips: '提示',
TipsBefore: '确定删除',
TipsStorageBefore: '确定添加库位:',
Description: '描述',
Remarks: '备注',
Or: '或',

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2022-03-03 09:16:10
* @LastEditors: zwq
* @LastEditTime: 2022-03-09 14:17:23
* @LastEditTime: 2022-03-09 14:30:59
* @Description: file content
* @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue
-->
@ -366,7 +366,15 @@ export default {
console.log(v)
},
submitLinkList() {
console.log('submitLinkList')
const tipArr = this.selectStorageList.map(item => {
return item.id
})
this.$confirm(`${this.$t('module.basicData.visual.TipsStorageBefore')}[${tipArr.join(',')}]?`, this.$t('module.basicData.visual.Tips'), {
confirmButtonText: this.$t('module.basicData.visual.confirmButtonText'),
cancelButtonText: this.$t('module.basicData.visual.cancelButtonText'),
type: 'warning'
}).then(() => {
}).catch(() => {})
}
}
}