物料管理
This commit is contained in:
@@ -73,20 +73,19 @@
|
||||
</u-col>
|
||||
<u-col span="2">
|
||||
<u-switch v-model="item.selected" size="38" @change="switch_change(index, item.selected)"></u-switch>
|
||||
<u-modal :show="show_model" title="确认选中数量" @confirm="ingredient_confirm">
|
||||
<u--form labelPosition="left" labelWidth="240" :labelStyle="labelstyle">
|
||||
<u-form-item label="配料数量" borderBottom>
|
||||
<u--input v-model="ingredient" border="surround" type="number"></u--input>
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
</u-modal>
|
||||
</u-col>
|
||||
</u-row>
|
||||
<u-line></u-line>
|
||||
</u-list-item>
|
||||
</u-list>
|
||||
</view>
|
||||
|
||||
<u-modal :show="show_model" title="确认选中数量" @confirm="ingredient_confirm">
|
||||
<u--form labelPosition="left" labelWidth="240" :labelStyle="labelstyle">
|
||||
<u-form-item label="配料数量" borderBottom>
|
||||
<u--input v-model="ingredient" border="surround" type="number"></u--input>
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
</u-modal>
|
||||
<u-button type="primary" size="big" text="生成配料任务" @click="generatetask"></u-button>
|
||||
<u-modal :show="task.show" :title="task.title" :content="task.content" @confirm="task.show = false"></u-modal>
|
||||
<u-loading-page :loading="loading" loading-text="加载数据中..." loading-color="#00ff00" icon-size="150"></u-loading-page>
|
||||
@@ -181,7 +180,7 @@ export default {
|
||||
this.$refs.uNotify.show({
|
||||
top: 100,
|
||||
type: 'success',
|
||||
message: '获取工单数据成功,共' + res.data.length + '条。时间为'+shanghaiTime,
|
||||
message: '获取工单数据成功,共' + res.data.length + '条。时间为' + shanghaiTime,
|
||||
duration: 1000 * 3,
|
||||
fontSize: 20,
|
||||
safeAreaInsetTop: true
|
||||
|
||||
Reference in New Issue
Block a user