产线下料
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"button.force-complete": "强制完成",
|
||||
"button.enter": "进入",
|
||||
"button.quit": "退出",
|
||||
"button.scxl": "产线下料",
|
||||
"button.zyps": "作业配送",
|
||||
"button.zjps": "质检配送",
|
||||
"button.zjxl": "质检下料",
|
||||
"button.control": "管制",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"button.force-complete": "強制完了",
|
||||
"button.enter": "に入る",
|
||||
"button.quit": "終了",
|
||||
"button.scxl": "ラインダウン",
|
||||
"button.zyps": "作業配送",
|
||||
"button.zjps": "品質検査配送",
|
||||
"button.zjxl": "品質検査で材料を落とす",
|
||||
"button.control": "せいぎょ",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"button.force-complete": "强制完成",
|
||||
"button.enter": "进入",
|
||||
"button.quit": "退出",
|
||||
"button.scxl": "产线下料",
|
||||
"button.zyps": "作业配送",
|
||||
"button.zjps": "质检配送",
|
||||
"button.zjxl": "质检下料",
|
||||
"button.control": "管制",
|
||||
|
||||
@@ -61,9 +61,9 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<!-- <button class="zd-col-22 button-primary" :class="{'button-info': !val1 || !dataList.length || !index}" :disabled="disabled" @tap="_productBlanking">{{$t('button.confirm-down-material')}}</button> -->
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !val1 || !dataList.length}" :disabled="disabled" @tap="handleConfirm('1')">{{$t('button.scxl')}}</button>
|
||||
<button class="zd-col-8 button-default" :class="{'button-info': !val1 || !dataList.length}" :disabled="disabled" @tap="handleConfirm('2')">{{$t('button.zjps')}}</button>
|
||||
<button class="zd-col-8 button-default" :class="{'button-info': !val1 || !index || !dataList.length}" :disabled="disabled" @tap="handleConfirm('3')">{{$t('button.zjxl')}}</button>
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !val1 || !dataList.length}" :disabled="disabled" @tap="handleConfirm('1', $t('button.zyps'))">{{$t('button.zyps')}}</button>
|
||||
<button class="zd-col-8 button-default" :class="{'button-info': !val1 || !dataList.length}" :disabled="disabled" @tap="handleConfirm('2', $t('button.zjps'))">{{$t('button.zjps')}}</button>
|
||||
<button class="zd-col-8 button-default" :class="{'button-info': !val1 || !index || !dataList.length}" :disabled="disabled" @tap="handleConfirm('3', $t('button.zjxl'))">{{$t('button.zjxl')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -184,7 +184,7 @@
|
||||
this.currentData = {}
|
||||
this.disabled = false
|
||||
},
|
||||
async handleConfirm(type) {
|
||||
async handleConfirm(type, name) {
|
||||
if (type === '3') {
|
||||
if (!this.val1 || !this.dataList.length || !this.index) {
|
||||
return
|
||||
@@ -194,7 +194,7 @@
|
||||
return
|
||||
}
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行" + name + "吗?")
|
||||
if (isConfirmed) {
|
||||
this._productBlanking(type)
|
||||
}
|
||||
|
||||
@@ -207,7 +207,8 @@
|
||||
let currObj = {
|
||||
mid: 'mid_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9),
|
||||
container_code: '',
|
||||
material_name: '物料',
|
||||
material_code: '0001542',
|
||||
material_name: 'ET02560/T (1250X1000)',
|
||||
pscn: '',
|
||||
qty: '1',
|
||||
measure_unit_id: '单位'
|
||||
|
||||
Reference in New Issue
Block a user