Commit 8cc3b2f4 by liangjianmin

优化询价和订单跟踪页面的代码结构和样式

- 重构询价页面和订单跟踪页面的模板结构,提升可读性
- 统一表单和操作区的样式,增强用户体验
- 添加签署合作协议的功能,丰富订单跟踪页面的操作选项
- 更新相关逻辑以支持新功能,确保数据交互的顺畅性
parent 8bb243a9
......@@ -430,7 +430,7 @@
<el-input v-model="ruleForm.mpq" placeholder="请输入MPQ" :value="ruleForm.mpq"></el-input>
</el-form-item>
<el-form-item label="其他费用" class="updatebox">
<el-input placeholder="" onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')" v-model="ruleForm.price_other" placeholder="请输入其他费用" :value="ruleForm.price_other"></el-input>
<el-input onkeyup="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')" v-model="ruleForm.price_other" placeholder="请输入其他费用" :value="ruleForm.price_other"></el-input>
</el-form-item>
</div>
<div class="box">
......
......@@ -68,6 +68,7 @@
<div class="operation-button row verCenter">
<el-button type="primary" @click="addSend">生成发货单</el-button>
<el-button type="primary" @click="exportChange">导出</el-button>
<el-button type="primary" @click="signPartnerAgreement">签署合作协议</el-button>
</div>
<div class="text-tip row verCenter">
<i class="el-icon-warning"></i>
......@@ -155,6 +156,20 @@
<el-table-column prop="operator" label="操作人" min-width="150" align="center"></el-table-column>
</el-table>
</el-dialog>
<!--签署合作协议-->
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="dialogVisibleSign" width="656px">
<div class="dialog-form">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="备注">
<el-input type="textarea" v-model="ruleForm.remark" placeholder="请输入备注"></el-input>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="submitForm('ruleForm')">确 定</el-button>
</div>
</el-dialog>
</section>
</template>
<script>
......@@ -177,9 +192,11 @@
limit: 10,
page: 1,
dialogVisible: false,
dialogVisibleSign: false,
logs: [],
create_time_val: '',
inquiry_item_id: '',//询价id
title: '',//签署合作协议标题
formInline: {
purchase_sn: '',
goods_name: '',
......@@ -284,6 +301,13 @@
const newsUrl = this.$router.resolve(url);
window.open(url);
},
/**
* 签署合作协议
*/
signPartnerAgreement() {
this.dialogVisibleSign = true;
this.title = '签署采购合作框架协议';
},
//生成发货单
addSend() {
if (this.multipleSelection.length != 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment